Skip to content

Commit

Permalink
net/ipv4/xfrm4_tunnel.c: remove superfluous header files from xfrm4_t…
Browse files Browse the repository at this point in the history
…unnel.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>
  • Loading branch information
Mianhan Liu authored and Steffen Klassert committed Sep 23, 2021
1 parent 428168f commit 83688ae
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions net/ipv4/xfrm4_tunnel.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 83688ae

Please sign in to comment.