Message ID | 20211030072633.4158069-2-steffen.klassert@secunet.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 83688aec17bf3203d8477a9dd7cce88132950798 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [1/2] net/ipv4/xfrm4_tunnel.c: remove superfluous header files from xfrm4_tunnel.c | expand |
Hello: This series was applied to netdev/net-next.git (master) by Steffen Klassert <steffen.klassert@secunet.com>: On Sat, 30 Oct 2021 09:26:32 +0200 you wrote: > From: Mianhan Liu <liumh1@shanghaitech.edu.cn> > > 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> > > [...] Here is the summary with links: - [1/2] net/ipv4/xfrm4_tunnel.c: remove superfluous header files from xfrm4_tunnel.c https://git.kernel.org/netdev/net-next/c/83688aec17bf - [2/2] xfrm: Remove redundant fields and related parentheses https://git.kernel.org/netdev/net-next/c/ad57dae8a64d You are awesome, thank you!
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)