summaryrefslogtreecommitdiffstats
path: root/net/ipv4/fib_notifier.c
diff options
context:
space:
mode:
authorMianhan Liu <liumh1@shanghaitech.edu.cn>2021-09-28 18:40:11 +0200
committerJakub Kicinski <kuba@kernel.org>2021-09-29 02:32:56 +0200
commit3d5f12d4ff7879bc134232e25ef44cc82b83a41a (patch)
treef433a1567e96d7662a95a9afd6dedda4cf0f1cfa /net/ipv4/fib_notifier.c
parentgve: DQO: avoid unused variable warnings (diff)
downloadlinux-3d5f12d4ff7879bc134232e25ef44cc82b83a41a.tar.xz
linux-3d5f12d4ff7879bc134232e25ef44cc82b83a41a.zip
net: ipv4: remove superfluous header files from fib_notifier.c
fib_notifier.c hasn'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@shanghaitech.edu.cn> Link: https://lore.kernel.org/r/20210928164011.1454-1-liumh1@shanghaitech.edu.cn Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv4/fib_notifier.c')
-rw-r--r--net/ipv4/fib_notifier.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ipv4/fib_notifier.c b/net/ipv4/fib_notifier.c
index 0c28bd469a68..0e23ade74493 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,