]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ipv6: remove duplicated 'net/lwtunnel.h' include
authorLv Ruyi <lv.ruyi@zte.com.cn>
Tue, 31 Aug 2021 09:09:06 +0000 (02:09 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Aug 2021 11:09:23 +0000 (12:09 +0100)
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>
net/ipv6/seg6_iptunnel.c

index 6ebc7aa244664dd0a0f6f92ccb69f8f7e3807366..1bf5f5ae75acf66d55097ccecced447bfb0ae724 100644 (file)
@@ -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)