]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
caif: Remove duplicate macro SRVL_CTRL_PKT_SIZE
authorWang Hai <wanghai38@huawei.com>
Fri, 4 Sep 2020 12:58:58 +0000 (20:58 +0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 5 Sep 2020 22:57:05 +0000 (15:57 -0700)
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>
net/caif/cfsrvl.c

index d0a4d0ac7045d8422bb14bef95ef65eec1edaede..9cef9496a70705df9ec56018bc6ad247e005b5e6 100644 (file)
@@ -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)