diff mbox series

ipv6: remove duplicated 'net/lwtunnel.h' include

Message ID 20210831090906.15612-1-lv.ruyi@zte.com.cn (mailing list archive)
State Accepted
Delegated to: Netdev Maintainers
Headers show
Series ipv6: remove duplicated 'net/lwtunnel.h' include | expand

Checks

Context Check Description
netdev/cover_letter success Link
netdev/fixes_present success Link
netdev/patch_count success Link
netdev/tree_selection success Guessed tree name to be net-next
netdev/subject_prefix warning Target tree name not specified in the subject
netdev/cc_maintainers success CCed 5 of 5 maintainers
netdev/source_inline success Was 0 now: 0
netdev/verify_signedoff success Link
netdev/module_param success Was 0 now: 0
netdev/build_32bit success Errors and warnings before: 0 this patch: 0
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/verify_fixes success Link
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 7 lines checked
netdev/build_allmodconfig_warn success Errors and warnings before: 0 this patch: 0
netdev/header_inline success Link

Commit Message

CGEL Aug. 31, 2021, 9:09 a.m. UTC
From: Lv Ruyi <lv.ruyi@zte.com.cn>

Remove all but the first include of net/lwtunnel.h from seg6_iptunnel.c.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Lv Ruyi <lv.ruyi@zte.com.cn>
---
 net/ipv6/seg6_iptunnel.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/net/ipv6/seg6_iptunnel.c b/net/ipv6/seg6_iptunnel.c
index 6ebc7aa24466..1bf5f5ae75ac 100644
--- a/net/ipv6/seg6_iptunnel.c
+++ b/net/ipv6/seg6_iptunnel.c
@@ -26,7 +26,6 @@ 
 #ifdef CONFIG_IPV6_SEG6_HMAC
 #include <net/seg6_hmac.h>
 #endif
-#include <net/lwtunnel.h>
 #include <linux/netfilter.h>

 static size_t seg6_lwt_headroom(struct seg6_iptunnel_encap *tuninfo)