summaryrefslogtreecommitdiffstats
path: root/net/sysctl_net.c
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2007-12-05 10:37:34 +0100
committerDavid S. Miller <davem@davemloft.net>2008-01-28 23:56:26 +0100
commit33eb9cfc700ae9ce621d47d6ca6d6b4ad7cd97f3 (patch)
treed5e3c0e9644249fa327c613571613c43ec474c6b /net/sysctl_net.c
parent[NET]: Remove unneeded ifdefs from sysctl_net_core.c (diff)
downloadlinux-33eb9cfc700ae9ce621d47d6ca6d6b4ad7cd97f3.tar.xz
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,