summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-08-07 05:30:43 +0400
committerDavid S. Miller <davem@davemloft.net>2008-08-07 05:30:43 +0400
commit11d46123bfea068a48483f00518d301f452647fb (patch)
treed4c1e82e26e1f8dd3ac79e51826af246432fd74a
parentabf5cdb89d09ca981db10e1a85fd8531440165f2 (diff)
downloadlinux-11d46123bfea068a48483f00518d301f452647fb.tar.xz
ipv4: Fix over-ifdeffing of ip_static_sysctl_init.
Noticed by Paulius Zaleckas. Signed-off-by: David S. Miller <davem@davemloft.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