Skip to contentSkip to conversation

amt: Remove duplicate include

PATCH Applied Jiapeng Chong 3 participants 3 messages Nov 3, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 amt: Remove duplicate include

Clean up the following includecheck warning:

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

---
 drivers/net/amt.c | 1 -
 1 file changed, 1 deletion(-)
drivers/net/amt.c +0 -1
index 60a7053..6697f8b 100644
@@ -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>
Signature · 1 line
1.8.3.1
maintainer Reviewed-by on v1 1/1
#1 lore raw

Hi Jiapeng,

Quoted 16 lines · Jiapeng Chong

Clean up the following includecheck warning:

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

---
  drivers/net/amt.c | 1 -
  1 file changed, 1 deletion(-)
drivers/net/amt.c +0 -0
index 60a7053..6697f8b 100644

drivers/net/amt.c line 17

Quoted 7 lines
drivers/net/amt.c +0 -1
@@ -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".

#2 lore raw
In reply to Jiapeng Chong
This patch was applied to netdev/net.git (master) by David S. Miller <[email protected]>:

Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller <[email protected]>:

Quoted 8 lines · 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.

[...]

Here is the summary with links:
- amt: Remove duplicate include

    https://git.kernel.org/netdev/net/c/a4414341b583

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html