diff mbox series

amt: Remove duplicate include

Message ID 1635911107-63759-1-git-send-email-jiapeng.chong@linux.alibaba.com (mailing list archive)
State Accepted
Commit a4414341b58397e703c066d28081c58f5057e948
Delegated to: Netdev Maintainers
Headers show
Series amt: Remove duplicate include | expand

Checks

Context Check Description
netdev/fixes_present success Fixes tag not required for -next series
netdev/subject_prefix warning Target tree name not specified in the subject
netdev/cover_letter success Single patches do not need cover letters
netdev/patch_count success Link
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 1 this patch: 1
netdev/cc_maintainers success CCed 4 of 4 maintainers
netdev/module_param success Was 0 now: 0
netdev/signed warning No signature found. Please sign patches: https://github.com/mricon/patatt
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn success Errors and warnings before: 1 this patch: 1
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 7 lines checked
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0
netdev/tree_selection success Guessing tree name failed - patch did not apply

Commit Message

Jiapeng Chong Nov. 3, 2021, 3:45 a.m. UTC
Clean up the following includecheck warning:

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

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
 drivers/net/amt.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Taehee Yoo Nov. 3, 2021, 8:21 a.m. UTC | #1
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@linux.alibaba.com>
> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
> ---
>   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>
patchwork-bot+netdevbpf@kernel.org Nov. 3, 2021, 11:20 a.m. UTC | #2
Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller <davem@davemloft.net>:

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 <abaci@linux.alibaba.com>
> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
> 
> [...]

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

You are awesome, thank you!
diff mbox series

Patch

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>