net/ipv4/udp_tunnel_core.c: remove superfluous header files from udp_tunnel_core.c
authorMianhan Liu <liumh1@shanghaitech.edu.cn>
Mon, 20 Sep 2021 12:29:57 +0000 (20:29 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Sep 2021 09:17:20 +0000 (10:17 +0100)
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>
net/ipv4/udp_tunnel_core.c

index b97e363..8efaf8c 100644 (file)
@@ -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>