summaryrefslogtreecommitdiffstats
path: root/net/ipv6/sysctl_net_ipv6.c
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2007-12-05 01:43:25 -0800
committerDavid S. Miller <davem@davemloft.net>2008-01-28 14:56:29 -0800
commit4a61b586cd7eaab6242eca58e8e6e3c8ebd88bd2 (patch)
tree5b21b765f53bd4d2e652d8baadffc48b6f3b37d6 /net/ipv6/sysctl_net_ipv6.c
parent08913681e484f3f0db949dd0809012e089846216 (diff)
downloadop-kernel-dev-4a61b586cd7eaab6242eca58e8e6e3c8ebd88bd2.zip
op-kernel-dev-4a61b586cd7eaab6242eca58e8e6e3c8ebd88bd2.tar.gz
[IPV6]: Make the ipv6/sysctl_net_ipv6.c compilation cleaner
Since this file is entirely enclosed with the #ifdef CONFIG_SYSCTL/#endif pair, it's OK to move this CONFIG_ into a Makefile. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/sysctl_net_ipv6.c')
-rw-r--r--net/ipv6/sysctl_net_ipv6.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/net/ipv6/sysctl_net_ipv6.c b/net/ipv6/sysctl_net_ipv6.c
index 68bb254..227efa7 100644
--- a/net/ipv6/sysctl_net_ipv6.c
+++ b/net/ipv6/sysctl_net_ipv6.c
@@ -14,8 +14,6 @@
#include <net/addrconf.h>
#include <net/inet_frag.h>
-#ifdef CONFIG_SYSCTL
-
static ctl_table ipv6_table[] = {
{
.ctl_name = NET_IPV6_ROUTE,
@@ -115,8 +113,3 @@ void ipv6_sysctl_unregister(void)
{
unregister_sysctl_table(ipv6_sysctl_header);
}
-
-#endif /* CONFIG_SYSCTL */
-
-
-
OpenPOWER on IntegriCloud