[PATCH -next] net/ipv4/tcp_nv.c: remove superfluous header files from tcp_nv.c

Subsystems: networking [general], networking [tcp], the rest

STALE1770d

2 messages, 2 authors, 2021-09-27 · open the first message on its own page

[PATCH -next] net/ipv4/tcp_nv.c: remove superfluous header files from tcp_nv.c

From: Mianhan Liu <hidden>
Date: 2021-09-25 14:22:08

tcp_nv.c hasn't use any macro or function declared in mm.h. Thus, these files
can be removed from tcp_nv.c safely without affecting the compilation
of the net module.

Signed-off-by: Mianhan Liu <redacted>

---
 net/ipv4/tcp_nv.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/net/ipv4/tcp_nv.c b/net/ipv4/tcp_nv.c
index 95db7a11b..ab552356b 100644
--- a/net/ipv4/tcp_nv.c
+++ b/net/ipv4/tcp_nv.c
@@ -25,7 +25,6 @@
  * 1) Add mechanism to deal with reverse congestion.
  */
 
-#include <linux/mm.h>
 #include <linux/module.h>
 #include <linux/math64.h>
 #include <net/tcp.h>
-- 
2.25.1

Re: [PATCH -next] net/ipv4/tcp_nv.c: remove superfluous header files from tcp_nv.c

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-09-27 11:50:17

Hello:

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

On Sat, 25 Sep 2021 22:21:40 +0800 you wrote:
tcp_nv.c hasn't use any macro or function declared in mm.h. Thus, these files
can be removed from tcp_nv.c safely without affecting the compilation
of the net module.

Signed-off-by: Mianhan Liu <redacted>


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

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help