diff options
author | Mianhan Liu <liumh1@shanghaitech.edu.cn> | 2021-09-20 22:15:49 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-09-21 10:48:47 +0100 |
commit | c595b120ebab1995083c28b6e050f3ccc24e3c1c (patch) | |
tree | e221f5160205708d8e29ea63ca7c8a86b8f3b780 /net | |
parent | bea714581a317803a0dfc9f975cb9fc2f2cada86 (diff) | |
download | linux-c595b120ebab1995083c28b6e050f3ccc24e3c1c.tar.bz2 |
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.c | 2 |
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> |