linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] caif: Remove duplicate macro SRVL_CTRL_PKT_SIZE
@ 2020-09-04 12:58 Wang Hai
  2020-09-05 22:59 ` Jakub Kicinski
  0 siblings, 1 reply; 2+ messages in thread
From: Wang Hai @ 2020-09-04 12:58 UTC (permalink / raw)
  To: davem, kuba; +Cc: netdev, linux-kernel

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(-)

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)
 
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH net-next] caif: Remove duplicate macro SRVL_CTRL_PKT_SIZE
  2020-09-04 12:58 [PATCH net-next] caif: Remove duplicate macro SRVL_CTRL_PKT_SIZE Wang Hai
@ 2020-09-05 22:59 ` Jakub Kicinski
  0 siblings, 0 replies; 2+ messages in thread
From: Jakub Kicinski @ 2020-09-05 22:59 UTC (permalink / raw)
  To: Wang Hai; +Cc: davem, netdev, linux-kernel

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-05 22:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-04 12:58 [PATCH net-next] caif: Remove duplicate macro SRVL_CTRL_PKT_SIZE Wang Hai
2020-09-05 22:59 ` Jakub Kicinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).