]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
net/ipv4/datagram.c: remove superfluous header files from datagram.c
authorMianhan Liu <liumh1@shanghaitech.edu.cn>
Wed, 29 Sep 2021 05:31:09 +0000 (13:31 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Sep 2021 10:39:33 +0000 (11:39 +0100)
datagram.c hasn't use any macro or function declared in linux/ip.h.
Thus, these files can be removed from datagram.c safely without
affecting the compilation of the net/ipv4 module

Signed-off-by: Mianhan Liu <liumh1@shanghaitech.edu.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/datagram.c

index 4a8550c49202db13b17d5cf4ed1e44dd8852c212..48f337ccf9495185de08b4bc64de69fe41e7f2b4 100644 (file)
@@ -9,7 +9,6 @@
 
 #include <linux/types.h>
 #include <linux/module.h>
-#include <linux/ip.h>
 #include <linux/in.h>
 #include <net/ip.h>
 #include <net/sock.h>