Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Mianhan Liu and committed by
Jakub Kicinski
3d5f12d4 1e0083bd

-1
-1
net/ipv4/fib_notifier.c
··· 6 6 #include <linux/export.h> 7 7 #include <net/net_namespace.h> 8 8 #include <net/fib_notifier.h> 9 - #include <net/netns/ipv4.h> 10 9 #include <net/ip_fib.h> 11 10 12 11 int call_fib4_notifier(struct notifier_block *nb,