aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMianhan Liu <[email protected]>2021-09-20 22:15:49 +0800
committerDavid S. Miller <[email protected]>2021-09-21 10:48:47 +0100
commitc595b120ebab1995083c28b6e050f3ccc24e3c1c (patch)
treee221f5160205708d8e29ea63ca7c8a86b8f3b780
parentbea714581a317803a0dfc9f975cb9fc2f2cada86 (diff)
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
-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>