aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipx/sysctl_net_ipx.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipx/sysctl_net_ipx.c')
-rw-r--r--net/ipx/sysctl_net_ipx.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/net/ipx/sysctl_net_ipx.c b/net/ipx/sysctl_net_ipx.c
index 035880709e84..ad7c03dedaab 100644
--- a/net/ipx/sysctl_net_ipx.c
+++ b/net/ipx/sysctl_net_ipx.c
@@ -28,17 +28,11 @@ static struct ctl_table ipx_table[] = {
28 { }, 28 { },
29}; 29};
30 30
31static struct ctl_path ipx_path[] = {
32 { .procname = "net", },
33 { .procname = "ipx", },
34 { }
35};
36
37static struct ctl_table_header *ipx_table_header; 31static struct ctl_table_header *ipx_table_header;
38 32
39void ipx_register_sysctl(void) 33void ipx_register_sysctl(void)
40{ 34{
41 ipx_table_header = register_net_sysctl_table(&init_net, ipx_path, ipx_table); 35 ipx_table_header = register_net_sysctl(&init_net, "net/ipx", ipx_table);
42} 36}
43 37
44void ipx_unregister_sysctl(void) 38void ipx_unregister_sysctl(void)