summaryrefslogtreecommitdiff
path: root/net/ipv4/datagram.c
diff options
context:
space:
mode:
authorMianhan Liu <liumh1@shanghaitech.edu.cn>2021-09-29 08:31:09 +0300
committerDavid S. Miller <davem@davemloft.net>2021-09-29 13:39:33 +0300
commit6a832a6c72b9365299406f13c799b63dafe03677 (patch)
tree166b2e3cdeff0817629b742bb63b29a8cf6452cc /net/ipv4/datagram.c
parentca4b0649be01cbf020a4cedf3f0a04a1975a0387 (diff)
downloadlinux-6a832a6c72b9365299406f13c799b63dafe03677.tar.xz
net/ipv4/datagram.c: remove superfluous header files from datagram.c
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>
Diffstat (limited to 'net/ipv4/datagram.c')
-rw-r--r--net/ipv4/datagram.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ipv4/datagram.c b/net/ipv4/datagram.c
index 4a8550c49202..48f337ccf949 100644
--- a/net/ipv4/datagram.c
+++ b/net/ipv4/datagram.c
@@ -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>