aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMianhan Liu <liumh1@shanghaitech.edu.cn>2021-09-20 22:15:49 +0800
committerDavid S. Miller <davem@davemloft.net>2021-09-21 10:48:47 +0100
commitc595b120ebab1995083c28b6e050f3ccc24e3c1c (patch)
treee221f5160205708d8e29ea63ca7c8a86b8f3b780 /net
parentnet/ipv4/udp_tunnel_core.c: remove superfluous header files from udp_tunnel_core.c (diff)
downloadlinux-dev-c595b120ebab1995083c28b6e050f3ccc24e3c1c.tar.xz
linux-dev-c595b120ebab1995083c28b6e050f3ccc24e3c1c.zip
net/ipv4/syncookies.c: remove superfluous header files from syncookies.c
syncookies.c hasn't use any macro or function declared in slab.h and random.h, Thus, these files can be removed from syncookies.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/syncookies.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv4/syncookies.c b/net/ipv4/syncookies.c
index 33792cf55a79..8696dc343ad2 100644
--- a/net/ipv4/syncookies.c
+++ b/net/ipv4/syncookies.c
@@ -7,8 +7,6 @@
*/
#include <linux/tcp.h>
-#include <linux/slab.h>
-#include <linux/random.h>
#include <linux/siphash.h>
#include <linux/kernel.h>
#include <linux/export.h>