diff options
author | Mianhan Liu <liumh1@shanghaitech.edu.cn> | 2021-09-20 20:29:57 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-09-21 10:17:20 +0100 |
commit | bea714581a317803a0dfc9f975cb9fc2f2cada86 (patch) | |
tree | 7ea37fb82a348b48936ff90a52d5b5b1bd344293 /net/ipv4 | |
parent | 85c698863c15176f743fd1d1fcf39ceb9172c820 (diff) |
net/ipv4/udp_tunnel_core.c: remove superfluous header files from udp_tunnel_core.c
udp_tunnel_core.c hasn't use any macro or function declared in udp.h, types.h,
and net_namespace.h. Thus, these files can be removed from udp_tunnel_core.c
safely without affecting the compilation of the net module.
Signed-off-by: Mianhan Liu <liumh1@shanghaitech.edu.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/udp_tunnel_core.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/ipv4/udp_tunnel_core.c b/net/ipv4/udp_tunnel_core.c index b97e3635acf5..8efaf8c3fe2a 100644 --- a/net/ipv4/udp_tunnel_core.c +++ b/net/ipv4/udp_tunnel_core.c @@ -2,11 +2,8 @@ #include <linux/module.h> #include <linux/errno.h> #include <linux/socket.h> -#include <linux/udp.h> -#include <linux/types.h> #include <linux/kernel.h> #include <net/dst_metadata.h> -#include <net/net_namespace.h> #include <net/udp.h> #include <net/udp_tunnel.h> |