summaryrefslogtreecommitdiffstats
path: root/net/sysctl_net.c
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2007-12-05 01:37:34 -0800
committerDavid S. Miller <davem@davemloft.net>2008-01-28 14:56:26 -0800
commit33eb9cfc700ae9ce621d47d6ca6d6b4ad7cd97f3 (patch)
treed5e3c0e9644249fa327c613571613c43ec474c6b /net/sysctl_net.c
parent7e2e109cef0d59abcb9aca8b82993e304ed8970c (diff)
downloadlinux-33eb9cfc700ae9ce621d47d6ca6d6b4ad7cd97f3.tar.gz
linux-33eb9cfc700ae9ce621d47d6ca6d6b4ad7cd97f3.tar.bz2
linux-33eb9cfc700ae9ce621d47d6ca6d6b4ad7cd97f3.zip
[NET]: Isolate the net/core/ sysctl table
Using ctl paths we can put all the stuff, related to net/core/ sysctl table, into one file and remove all the references on it. As a good side effect this hides the "core_table" name from the global scope :) Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sysctl_net.c')
-rw-r--r--net/sysctl_net.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/net/sysctl_net.c b/net/sysctl_net.c
index c50c793aa7f0..747fc55b28f1 100644
--- a/net/sysctl_net.c
+++ b/net/sysctl_net.c
@@ -31,12 +31,6 @@
#endif
struct ctl_table net_table[] = {
- {
- .ctl_name = NET_CORE,
- .procname = "core",
- .mode = 0555,
- .child = core_table,
- },
#ifdef CONFIG_INET
{
.ctl_name = NET_IPV4,