aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMianhan Liu <liumh1@shanghaitech.edu.cn>2021-09-29 13:31:09 +0800
committerDavid S. Miller <davem@davemloft.net>2021-09-29 11:39:33 +0100
commit6a832a6c72b9365299406f13c799b63dafe03677 (patch)
tree166b2e3cdeff0817629b742bb63b29a8cf6452cc
parentnet/dsa/tag_ksz.c: remove superfluous headers (diff)
downloadlinux-dev-6a832a6c72b9365299406f13c799b63dafe03677.tar.xz
linux-dev-6a832a6c72b9365299406f13c799b63dafe03677.zip
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>
-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>