net/ipv4/syncookies.c: remove superfluous header files from syncookies.c
authorMianhan Liu <liumh1@shanghaitech.edu.cn>
Mon, 20 Sep 2021 14:15:49 +0000 (22:15 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Sep 2021 09:48:47 +0000 (10:48 +0100)
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>
net/ipv4/syncookies.c

index 33792cf..8696dc3 100644 (file)
@@ -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>