linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] net/ipv4/tcp_minisocks.c: remove superfluous header files from tcp_minisocks.c
@ 2021-09-20 11:55 Mianhan Liu
  2021-09-20 12:20 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Mianhan Liu @ 2021-09-20 11:55 UTC (permalink / raw)
  To: Eric Dumazet, David S. Miller, Hideaki YOSHIFUJI, David Ahern
  Cc: Jakub Kicinski, netdev, linux-kernel, Mianhan Liu

tcp_minisocks.c hasn't use any macro or function declared in mm.h, module.h,
slab.h, sysctl.h, workqueue.h, static_key.h and inet_common.h. Thus, these
files can be removed from tcp_minisocks.c safely without affecting the
compilation of the net module.

Signed-off-by: Mianhan Liu <liumh1@shanghaitech.edu.cn>

---
 net/ipv4/tcp_minisocks.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/net/ipv4/tcp_minisocks.c b/net/ipv4/tcp_minisocks.c
index 0a4f3f161..cf913a66d 100644
--- a/net/ipv4/tcp_minisocks.c
+++ b/net/ipv4/tcp_minisocks.c
@@ -19,14 +19,7 @@
  *		Jorge Cwik, <jorge@laser.satlink.net>
  */
 
-#include <linux/mm.h>
-#include <linux/module.h>
-#include <linux/slab.h>
-#include <linux/sysctl.h>
-#include <linux/workqueue.h>
-#include <linux/static_key.h>
 #include <net/tcp.h>
-#include <net/inet_common.h>
 #include <net/xfrm.h>
 #include <net/busy_poll.h>
 
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] net/ipv4/tcp_minisocks.c: remove superfluous header files from tcp_minisocks.c
  2021-09-20 11:55 [PATCH -next] net/ipv4/tcp_minisocks.c: remove superfluous header files from tcp_minisocks.c Mianhan Liu
@ 2021-09-20 12:20 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-09-20 12:20 UTC (permalink / raw)
  To: Mianhan Liu
  Cc: edumazet, davem, yoshfuji, dsahern, kuba, netdev, linux-kernel

Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Mon, 20 Sep 2021 19:55:36 +0800 you wrote:
> tcp_minisocks.c hasn't use any macro or function declared in mm.h, module.h,
> slab.h, sysctl.h, workqueue.h, static_key.h and inet_common.h. Thus, these
> files can be removed from tcp_minisocks.c safely without affecting the
> compilation of the net module.
> 
> Signed-off-by: Mianhan Liu <liumh1@shanghaitech.edu.cn>
> 
> [...]

Here is the summary with links:
  - [-next] net/ipv4/tcp_minisocks.c: remove superfluous header files from tcp_minisocks.c
    https://git.kernel.org/netdev/net-next/c/85c698863c15

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-20 12:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-20 11:55 [PATCH -next] net/ipv4/tcp_minisocks.c: remove superfluous header files from tcp_minisocks.c Mianhan Liu
2021-09-20 12:20 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).