]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
net: ipv4: remove superfluous header files from fib_notifier.c
authorMianhan Liu <liumh1@shanghaitech.edu.cn>
Tue, 28 Sep 2021 16:40:11 +0000 (00:40 +0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 29 Sep 2021 00:32:56 +0000 (17:32 -0700)
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>
net/ipv4/fib_notifier.c

index 0c28bd469a6810007ef66c6c224c6314aed56a6c..0e23ade74493ce10a3f2572c39e091f132684884 100644 (file)
@@ -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,