aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMianhan Liu <liumh1@shanghaitech.edu.cn>2021-09-20 19:58:31 +0800
committerSteffen Klassert <steffen.klassert@secunet.com>2021-09-23 10:10:00 +0200
commit83688aec17bf3203d8477a9dd7cce88132950798 (patch)
tree5e658bc8b74aa7d2ccbde567797350f6de228205
parentMerge branch 'mlxsw-trap-adjacency' (diff)
downloadlinux-dev-83688aec17bf3203d8477a9dd7cce88132950798.tar.xz
linux-dev-83688aec17bf3203d8477a9dd7cce88132950798.zip
net/ipv4/xfrm4_tunnel.c: remove superfluous header files from xfrm4_tunnel.c
xfrm4_tunnel.c hasn't use any macro or function declared in mutex.h and ip.h Thus, these files can be removed from xfrm4_tunnel.c safely without affecting the compilation of the net module. Signed-off-by: Mianhan Liu <liumh1@shanghaitech.edu.cn> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
-rw-r--r--net/ipv4/xfrm4_tunnel.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv4/xfrm4_tunnel.c b/net/ipv4/xfrm4_tunnel.c
index f4555a88f86b..9d4f418f1bf8 100644
--- a/net/ipv4/xfrm4_tunnel.c
+++ b/net/ipv4/xfrm4_tunnel.c
@@ -8,9 +8,7 @@
#include <linux/skbuff.h>
#include <linux/module.h>
-#include <linux/mutex.h>
#include <net/xfrm.h>
-#include <net/ip.h>
#include <net/protocol.h>
static int ipip_output(struct xfrm_state *x, struct sk_buff *skb)