]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[NET]: Remove the empty net_table
authorPavel Emelyanov <xemul@openvz.org>
Wed, 5 Dec 2007 09:42:49 +0000 (01:42 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:56:29 +0000 (14:56 -0800)
I have removed all the entries from this table (core_table,
ipv4_table and tr_table), so now we can safely drop it.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/net.h
kernel/sysctl.c
net/sysctl_net.c

index f95f12c5840ce80ff1976c15e726f68038de20da..c414d90e647bd3f1c71ef7a5eefe9e8a933107b0 100644 (file)
@@ -337,7 +337,6 @@ static const struct proto_ops name##_ops = {                        \
 
 #ifdef CONFIG_SYSCTL
 #include <linux/sysctl.h>
-extern ctl_table net_table[];
 extern int net_msg_cost;
 extern int net_msg_burst;
 #endif
index 45e76f209dcbd8a84083776e80ecb88f3ea8bfaa..4bc8e48434a7f9a8879d8ffee7797dc06f8b8107 100644 (file)
@@ -200,14 +200,6 @@ static struct ctl_table root_table[] = {
                .mode           = 0555,
                .child          = vm_table,
        },
-#ifdef CONFIG_NET
-       {
-               .ctl_name       = CTL_NET,
-               .procname       = "net",
-               .mode           = 0555,
-               .child          = net_table,
-       },
-#endif
        {
                .ctl_name       = CTL_FS,
                .procname       = "fs",
index 16ad14b5d572d348f88b1ee86c4377bd96752446..665e856675a4e449268789a295a40e119ee876b9 100644 (file)
 #include <linux/if_tr.h>
 #endif
 
-struct ctl_table net_table[] = {
-       { 0 },
-};
-
 static struct list_head *
 net_ctl_header_lookup(struct ctl_table_root *root, struct nsproxy *namespaces)
 {