Re: [PATCH] amt: Remove duplicate include

From: Taehee Yoo
Date: Wed Nov 03 2021 - 04:22:05 EST


Hi Jiapeng,

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

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

Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>
Signed-off-by: Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx>
---
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@xxxxxxxxx>