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

From: Mianhan Liu
Date: Tue Sep 28 2021 - 12:40:40 EST


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 <liumh1@xxxxxxxxxxxxxxxxxxx>

---
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