Thread (2 messages) flat view 2 messages, 2 authors, 2021-09-29
STALE1783d LANDED

Landed in mainline as 3d5f12d4ff78 on 2021-09-29.

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

From: Mianhan Liu <hidden>
Date: 2021-09-28 16:40:40
Also in: lkml
Subsystem: networking [general], networking [ipv4/ipv6], the rest · Maintainers: "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, David Ahern, Ido Schimmel, Linus Torvalds

fib_notifier.chasn't use any macro or function declared in net/netns/ipv4.h.
Thus, these files can be removed from fib_notifier.c safely without
affecting the compilation of the net/ipv4 module.

Signed-off-by: Mianhan Liu <redacted>

---
 net/ipv4/fib_notifier.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/net/ipv4/fib_notifier.c b/net/ipv4/fib_notifier.c
index 0c28bd469..0e23ade74 100644
--- a/net/ipv4/fib_notifier.c
+++ b/net/ipv4/fib_notifier.c
@@ -6,7 +6,6 @@
 #include <linux/export.h>
 #include <net/net_namespace.h>
 #include <net/fib_notifier.h>
-#include <net/netns/ipv4.h>
 #include <net/ip_fib.h>
 
 int call_fib4_notifier(struct notifier_block *nb,
-- 
2.25.1

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