summaryrefslogtreecommitdiffstats
path: root/net/qrtr
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@linaro.org>2017-10-10 23:45:18 -0700
committerDavid S. Miller <davem@davemloft.net>2017-10-11 15:28:38 -0700
commit28978713c51b0a70acf748f76f9d6d2d20dcf980 (patch)
tree8d1edae63bb40ed7777f9a6ded8efdbef2f4de40 /net/qrtr
parentae85bfa87821b9fa60bf846c09a6a0056d87cdb2 (diff)
downloadlinux-28978713c51b0a70acf748f76f9d6d2d20dcf980.tar.bz2
net: qrtr: Move constants to header file
The constants are used by both the name server and clients, so clarify their value and move them to the uapi header. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/qrtr')
-rw-r--r--net/qrtr/qrtr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/qrtr/qrtr.c b/net/qrtr/qrtr.c
index 7e4b49a8349e..15981abc042c 100644
--- a/net/qrtr/qrtr.c
+++ b/net/qrtr/qrtr.c
@@ -61,8 +61,6 @@ struct qrtr_hdr {
} __packed;
#define QRTR_HDR_SIZE sizeof(struct qrtr_hdr)
-#define QRTR_NODE_BCAST ((unsigned int)-1)
-#define QRTR_PORT_CTRL ((unsigned int)-2)
struct qrtr_sock {
/* WARNING: sk must be the first member */