diff options
| author | Pavel Emelyanov <[email protected]> | 2007-12-05 09:43:25 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2008-01-28 22:56:29 +0000 |
| commit | 4a61b586cd7eaab6242eca58e8e6e3c8ebd88bd2 (patch) | |
| tree | 5b21b765f53bd4d2e652d8baadffc48b6f3b37d6 /net/ipv6/sysctl_net_ipv6.c | |
| parent | [NET]: Remove the empty net_table (diff) | |
| download | kernel-4a61b586cd7eaab6242eca58e8e6e3c8ebd88bd2.tar.gz kernel-4a61b586cd7eaab6242eca58e8e6e3c8ebd88bd2.zip | |
[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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv6/sysctl_net_ipv6.c')
| -rw-r--r-- | net/ipv6/sysctl_net_ipv6.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/net/ipv6/sysctl_net_ipv6.c b/net/ipv6/sysctl_net_ipv6.c index 68bb2548e469..227efa726acd 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 */ - - - |
