aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/sysctl_net_core.c
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2007-12-05 04:36:23 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 17:56:25 -0500
commit7e2e109cef0d59abcb9aca8b82993e304ed8970c (patch)
tree78cf67cfdea58711e219e79a7280989fdc17b010 /net/core/sysctl_net_core.c
parent2eeeba390ae28fcd742e44706c363cb36bc614c6 (diff)
[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/sysctl_net_core.c')
-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 113cc728dc3..277c8faaf73 100644
--- a/net/core/sysctl_net_core.c
+++ b/net/core/sysctl_net_core.c
@@ -13,8 +13,6 @@
13#include <net/sock.h> 13#include <net/sock.h>
14#include <net/xfrm.h> 14#include <net/xfrm.h>
15 15
16#ifdef CONFIG_SYSCTL
17
18ctl_table core_table[] = { 16ctl_table core_table[] = {
19#ifdef CONFIG_NET 17#ifdef CONFIG_NET
20 { 18 {
@@ -151,5 +149,3 @@ ctl_table core_table[] = {
151 }, 149 },
152 { .ctl_name = 0 } 150 { .ctl_name = 0 }
153}; 151};
154
155#endif