summaryrefslogtreecommitdiffstats
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 0358807..ad7c03d 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[] = {
{ },
};
-static struct ctl_path ipx_path[] = {
- { .procname = "net", },
- { .procname = "ipx", },
- { }
-};
-
static struct ctl_table_header *ipx_table_header;
void ipx_register_sysctl(void)
{
- ipx_table_header = register_net_sysctl_table(&init_net, ipx_path, ipx_table);
+ ipx_table_header = register_net_sysctl(&init_net, "net/ipx", ipx_table);
}
void ipx_unregister_sysctl(void)
OpenPOWER on IntegriCloud