summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-08-07 03:30:43 +0200
committerDavid S. Miller <davem@davemloft.net>2008-08-07 03:30:43 +0200
commit11d46123bfea068a48483f00518d301f452647fb (patch)
treed4c1e82e26e1f8dd3ac79e51826af246432fd74a /net
parentipsec: Interfamily IPSec BEET, ipv4-inner ipv6-outer (diff)
downloadlinux-11d46123bfea068a48483f00518d301f452647fb.tar.xz
linux-11d46123bfea068a48483f00518d301f452647fb.zip
ipv4: Fix over-ifdeffing of ip_static_sysctl_init.
Noticed by Paulius Zaleckas. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/ipv4/route.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c
index eccb61889dfe..16fc6f454a31 100644
--- a/net/ipv4/route.c
+++ b/net/ipv4/route.c
@@ -3223,9 +3223,7 @@ int __init ip_rt_init(void)
*/
void __init ip_static_sysctl_init(void)
{
-#ifdef CONFIG_SYSCTL
register_sysctl_paths(ipv4_route_path, ipv4_route_table);
-#endif
}
#endif