diff mbox series

amt: remove duplicate include in amt.c

Message ID 20211105012717.74249-1-zhang.mingyu@zte.com.cn (mailing list archive)
State Accepted
Commit dce981c42151e1f0176b0788c2e1bdc3f1e2bc1f
Delegated to: Netdev Maintainers
Headers show
Series amt: remove duplicate include in amt.c | 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/build_clang success Errors and warnings before: 0 this patch: 0
netdev/module_param success Was 0 now: 0
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

CGEL Nov. 5, 2021, 1:27 a.m. UTC
From: Zhang Mingyu <zhang.mingyu@zte.com.cn>

'net/protocol.h' included in 'drivers/net/amt.c' is duplicated.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Zhang Mingyu <zhang.mingyu@zte.com.cn>
---
 drivers/net/amt.c | 1 -
 1 file changed, 1 deletion(-)

Comments

patchwork-bot+netdevbpf@kernel.org Nov. 5, 2021, 2:30 p.m. UTC | #1
Hello:

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

On Fri,  5 Nov 2021 01:27:17 +0000 you wrote:
> From: Zhang Mingyu <zhang.mingyu@zte.com.cn>
> 
> 'net/protocol.h' included in 'drivers/net/amt.c' is duplicated.
> 
> Reported-by: Zeal Robot <zealci@zte.com.cn>
> Signed-off-by: Zhang Mingyu <zhang.mingyu@zte.com.cn>
> 
> [...]

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

You are awesome, thank you!
diff mbox series

Patch

diff --git a/drivers/net/amt.c b/drivers/net/amt.c
index 60a7053a9cf7..fc75aded1b6f 100644
--- a/drivers/net/amt.c
+++ b/drivers/net/amt.c
@@ -23,7 +23,6 @@ 
 #include <linux/security.h>
 #include <net/gro_cells.h>
 #include <net/ipv6.h>
-#include <net/protocol.h>
 #include <net/if_inet6.h>
 #include <net/ndisc.h>
 #include <net/addrconf.h>