diff mbox series

[net-next] caif: Remove duplicate macro SRVL_CTRL_PKT_SIZE

Message ID 20200904125858.16204-1-wanghai38@huawei.com
State Accepted
Delegated to: David Miller
Headers show
Series [net-next] caif: Remove duplicate macro SRVL_CTRL_PKT_SIZE | expand

Commit Message

Wang Hai Sept. 4, 2020, 12:58 p.m. UTC
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>
---
 net/caif/cfsrvl.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Jakub Kicinski Sept. 5, 2020, 10:59 p.m. UTC | #1
On Fri, 4 Sep 2020 20:58:58 +0800 Wang Hai wrote:
> 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>

Applied, thanks.
diff mbox series

Patch

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)