X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fsysctl_net.c;h=cd4eafbab1b8e265b70657033cc9a1047a16bce2;hb=6837a8c352efcc5efc70424e9bfd94ff9bfa9a47;hp=3f6e31069c547ebb8b7a850da018f1a3e1169234;hpb=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2;p=linux-2.6 diff --git a/net/sysctl_net.c b/net/sysctl_net.c index 3f6e31069c..cd4eafbab1 100644 --- a/net/sysctl_net.c +++ b/net/sysctl_net.c @@ -12,22 +12,21 @@ * */ -#include #include #include +#include + #ifdef CONFIG_INET -extern struct ctl_table ipv4_table[]; +#include #endif -extern struct ctl_table core_table[]; - #ifdef CONFIG_NET -extern struct ctl_table ether_table[]; +#include #endif #ifdef CONFIG_TR -extern struct ctl_table tr_table[]; +#include #endif struct ctl_table net_table[] = { @@ -37,14 +36,6 @@ struct ctl_table net_table[] = { .mode = 0555, .child = core_table, }, -#ifdef CONFIG_NET - { - .ctl_name = NET_ETHER, - .procname = "ethernet", - .mode = 0555, - .child = ether_table, - }, -#endif #ifdef CONFIG_INET { .ctl_name = NET_IPV4,