diff options
author | David S. Miller <davem@davemloft.net> | 2008-08-06 21:30:43 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-06 21:30:43 -0400 |
commit | 11d46123bfea068a48483f00518d301f452647fb (patch) | |
tree | d4c1e82e26e1f8dd3ac79e51826af246432fd74a /net | |
parent | abf5cdb89d09ca981db10e1a85fd8531440165f2 (diff) |
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.c | 2 |
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) | |||
3223 | */ | 3223 | */ |
3224 | void __init ip_static_sysctl_init(void) | 3224 | void __init ip_static_sysctl_init(void) |
3225 | { | 3225 | { |
3226 | #ifdef CONFIG_SYSCTL | ||
3227 | register_sysctl_paths(ipv4_route_path, ipv4_route_table); | 3226 | register_sysctl_paths(ipv4_route_path, ipv4_route_table); |
3228 | #endif | ||
3229 | } | 3227 | } |
3230 | #endif | 3228 | #endif |
3231 | 3229 | ||