Skip to content

Commit

Permalink
net/ipv4/syncookies.c: remove superfluous header files from syncookies.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mianhan Liu authored and David S. Miller committed Sep 21, 2021
1 parent bea7145 commit c595b12
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions net/ipv4/syncookies.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit c595b12

Please sign in to comment.