]> err.no Git - linux-2.6/commitdiff
ipv4: Fix over-ifdeffing of ip_static_sysctl_init.
authorDavid S. Miller <davem@davemloft.net>
Thu, 7 Aug 2008 01:30:43 +0000 (18:30 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Aug 2008 01:30:43 +0000 (18:30 -0700)
Noticed by Paulius Zaleckas.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/route.c

index eccb61889dfe90931789db6984391cc4afaf1bb6..16fc6f454a3188426807fb30a4cc1e25618b6d2b 100644 (file)
@@ -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