summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLv Ruyi <lv.ruyi@zte.com.cn>2021-08-31 11:09:06 +0200
committerDavid S. Miller <davem@davemloft.net>2021-08-31 13:09:23 +0200
commit53c622db99df0789ade7082d028bf4f3b6064c95 (patch)
treee3c48632a40fc1a7f241da34f3d92bfd425c91f7
parentnet: w5100: check return value after calling platform_get_resource() (diff)
downloadlinux-53c622db99df0789ade7082d028bf4f3b6064c95.tar.xz
linux-53c622db99df0789ade7082d028bf4f3b6064c95.zip
ipv6: remove duplicated 'net/lwtunnel.h' include
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> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/ipv6/seg6_iptunnel.c1
1 files changed, 0 insertions, 1 deletions
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)