[PATCH] amt: Remove duplicate include

Subsystems: amt (automatic multicast tunneling), networking drivers, the rest

STALE1739d

3 messages, 3 authors, 2021-11-03 · open the first message on its own page

[PATCH] amt: Remove duplicate include

From: Jiapeng Chong <hidden>
Date: 2021-11-03 03:45:21

Clean up the following includecheck warning:

./drivers/net/amt.c: net/protocol.h is included more than once.

Reported-by: Abaci Robot <redacted>
Signed-off-by: Jiapeng Chong <redacted>
---
 drivers/net/amt.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/drivers/net/amt.c b/drivers/net/amt.c
index 60a7053..6697f8b 100644
--- a/drivers/net/amt.c
+++ b/drivers/net/amt.c
@@ -12,7 +12,6 @@
 #include <linux/igmp.h>
 #include <linux/workqueue.h>
 #include <net/net_namespace.h>
-#include <net/protocol.h>
 #include <net/ip.h>
 #include <net/udp.h>
 #include <net/udp_tunnel.h>
-- 
1.8.3.1

Re: [PATCH] amt: Remove duplicate include

From: Taehee Yoo <ap420073@gmail.com>
Date: 2021-11-03 08:22:05

Hi Jiapeng,

On 2021. 11. 3. 오후 12:45, Jiapeng Chong wrote:
quoted hunk
Clean up the following includecheck warning:

./drivers/net/amt.c: net/protocol.h is included more than once.

Reported-by: Abaci Robot <redacted>
Signed-off-by: Jiapeng Chong <redacted>
---
  drivers/net/amt.c | 1 -
  1 file changed, 1 deletion(-)
diff --git a/drivers/net/amt.c b/drivers/net/amt.c
index 60a7053..6697f8b 100644
--- a/drivers/net/amt.c
+++ b/drivers/net/amt.c
@@ -12,7 +12,6 @@
  #include <linux/igmp.h>
  #include <linux/workqueue.h>
  #include <net/net_namespace.h>
-#include <net/protocol.h>
  #include <net/ip.h>
  #include <net/udp.h>
  #include <net/udp_tunnel.h>
target repo is "net-next".

Reviewed-by: Taehee Yoo <ap420073@gmail.com>

Re: [PATCH] amt: Remove duplicate include

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-11-03 11:20:15

Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller [off-list ref]:

On Wed,  3 Nov 2021 11:45:07 +0800 you wrote:
Clean up the following includecheck warning:

./drivers/net/amt.c: net/protocol.h is included more than once.

Reported-by: Abaci Robot <redacted>
Signed-off-by: Jiapeng Chong <redacted>

[...]
Here is the summary with links:
  - amt: Remove duplicate include
    https://git.kernel.org/netdev/net/c/a4414341b583

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help