[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210920141549.29643-1-liumh1@shanghaitech.edu.cn>
Date: Mon, 20 Sep 2021 22:15:49 +0800
From: Mianhan Liu <liumh1@...nghaitech.edu.cn>
To: Eric Dumazet <edumazet@...gle.com>,
"David S. Miller" <davem@...emloft.net>,
Hideaki YOSHIFUJI <yoshfuji@...ux-ipv6.org>,
David Ahern <dsahern@...nel.org>
CC: Jakub Kicinski <kuba@...nel.org>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>,
Mianhan Liu <liumh1@...nghaitech.edu.cn>
Subject: [PATCH -next] 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@...nghaitech.edu.cn>
---
net/ipv4/syncookies.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/net/ipv4/syncookies.c b/net/ipv4/syncookies.c
index 33792cf55..8696dc343 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>
--
2.25.1
Powered by blists - more mailing lists