aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMianhan Liu <liumh1@shanghaitech.edu.cn>2021-09-20 20:29:57 +0800
committerDavid S. Miller <davem@davemloft.net>2021-09-21 10:17:20 +0100
commitbea714581a317803a0dfc9f975cb9fc2f2cada86 (patch)
tree7ea37fb82a348b48936ff90a52d5b5b1bd344293 /net
parentnet/ipv4/tcp_minisocks.c: remove superfluous header files from tcp_minisocks.c (diff)
downloadlinux-dev-bea714581a317803a0dfc9f975cb9fc2f2cada86.tar.xz
linux-dev-bea714581a317803a0dfc9f975cb9fc2f2cada86.zip
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')
-rw-r--r--net/ipv4/udp_tunnel_core.c3
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>