summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPavel Emelyanov2007-12-05 10:37:34 +0100
committerDavid S. Miller2008-01-28 23:56:26 +0100
commit33eb9cfc700ae9ce621d47d6ca6d6b4ad7cd97f3 (patch)
treed5e3c0e9644249fa327c613571613c43ec474c6b /include
parent[NET]: Remove unneeded ifdefs from sysctl_net_core.c (diff)
downloadkernel-qcow2-linux-33eb9cfc700ae9ce621d47d6ca6d6b4ad7cd97f3.tar.gz
kernel-qcow2-linux-33eb9cfc700ae9ce621d47d6ca6d6b4ad7cd97f3.tar.xz
kernel-qcow2-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 'include')
-rw-r--r--include/net/sock.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/net/sock.h b/include/net/sock.h
index 800e73a62d8f..4ce37ce8c411 100644
--- a/include/net/sock.h
+++ b/include/net/sock.h
@@ -1325,10 +1325,6 @@ extern __u32 sysctl_rmem_max;
extern void sk_init(void);
-#ifdef CONFIG_SYSCTL
-extern struct ctl_table core_table[];
-#endif
-
extern int sysctl_optmem_max;
extern __u32 sysctl_wmem_default;