提交 11d46123 编写于 作者: D David S. Miller

ipv4: Fix over-ifdeffing of ip_static_sysctl_init.

Noticed by Paulius Zaleckas.
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 abf5cdb8
...@@ -3223,9 +3223,7 @@ int __init ip_rt_init(void) ...@@ -3223,9 +3223,7 @@ int __init ip_rt_init(void)
*/ */
void __init ip_static_sysctl_init(void) void __init ip_static_sysctl_init(void)
{ {
#ifdef CONFIG_SYSCTL
register_sysctl_paths(ipv4_route_path, ipv4_route_table); register_sysctl_paths(ipv4_route_path, ipv4_route_table);
#endif
} }
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册