summaryrefslogtreecommitdiff
path: root/net/core
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2007-12-05 12:36:23 +0300
committerDavid S. Miller <davem@davemloft.net>2008-01-29 01:56:25 +0300
commit7e2e109cef0d59abcb9aca8b82993e304ed8970c (patch)
tree78cf67cfdea58711e219e79a7280989fdc17b010 /net/core
parent2eeeba390ae28fcd742e44706c363cb36bc614c6 (diff)
downloadlinux-7e2e109cef0d59abcb9aca8b82993e304ed8970c.tar.xz
[NET]: Remove unneeded ifdefs from sysctl_net_core.c
This file is already compiled out when the SYSCTL=n, so these ifdefs, that enclose the whole file, can be removed. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r--net/core/sysctl_net_core.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/core/sysctl_net_core.c b/net/core/sysctl_net_core.c
index 113cc728dc31..277c8faaf732 100644
--- a/net/core/sysctl_net_core.c
+++ b/net/core/sysctl_net_core.c
@@ -13,8 +13,6 @@
#include <net/sock.h>
#include <net/xfrm.h>
-#ifdef CONFIG_SYSCTL
-
ctl_table core_table[] = {
#ifdef CONFIG_NET
{
@@ -151,5 +149,3 @@ ctl_table core_table[] = {
},
{ .ctl_name = 0 }
};
-
-#endif