summaryrefslogtreecommitdiff
path: root/net/caif/cfsrvl.c
diff options
context:
space:
mode:
authorWang Hai <wanghai38@huawei.com>2020-09-04 20:58:58 +0800
committerJakub Kicinski <kuba@kernel.org>2020-09-05 15:57:05 -0700
commit877c3474025f977208da491d34bf15f0e015d724 (patch)
treea9fb1bf826d83f24b56b3e7efc9b29be40d4b79f /net/caif/cfsrvl.c
parente799151814d5ecde28d1ea450bea6543c0363c02 (diff)
caif: Remove duplicate macro SRVL_CTRL_PKT_SIZE
Remove SRVL_CTRL_PKT_SIZE which is defined more than once. Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wang Hai <wanghai38@huawei.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/caif/cfsrvl.c')
-rw-r--r--net/caif/cfsrvl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/caif/cfsrvl.c b/net/caif/cfsrvl.c
index d0a4d0ac7045..9cef9496a707 100644
--- a/net/caif/cfsrvl.c
+++ b/net/caif/cfsrvl.c
@@ -21,7 +21,6 @@
#define SRVL_FLOW_OFF 0x81
#define SRVL_FLOW_ON 0x80
#define SRVL_SET_PIN 0x82
-#define SRVL_CTRL_PKT_SIZE 1
#define container_obj(layr) container_of(layr, struct cfsrvl, layer)