[PATCH] ipv6: remove duplicated 'net/lwtunnel.h' include

From: cgel . zte
Date: Tue Aug 31 2021 - 05:09:23 EST


From: Lv Ruyi <lv.ruyi@xxxxxxxxxx>

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

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

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)
--
2.25.1