[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>
This commit is contained in:

committed by
David S. Miller

parent
08913681e4
commit
4a61b586cd
@@ -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 */
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user