2021-11-03 03:46:53

by Jiapeng Chong

[permalink] [raw]
Subject: [PATCH] amt: Remove duplicate include

Clean up the following includecheck warning:

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

Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Jiapeng Chong <[email protected]>
---
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


2021-11-03 08:23:35

by Taehee Yoo

[permalink] [raw]
Subject: Re: [PATCH] amt: Remove duplicate include

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 <[email protected]>
> Signed-off-by: Jiapeng Chong <[email protected]>
> ---
> 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 <[email protected]>

2021-11-03 11:23:03

by patchwork-bot+netdevbpf

[permalink] [raw]
Subject: Re: [PATCH] amt: Remove duplicate include

Hello:

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

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 <[email protected]>
> Signed-off-by: Jiapeng Chong <[email protected]>
>
> [...]

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