]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - net/ipx/sysctl_net_ipx.c
net: Convert all sysctl registrations to register_net_sysctl
[mirror_ubuntu-zesty-kernel.git] / net / ipx / sysctl_net_ipx.c
index 035880709e840302f3a1498988d508e0ca07b1ef..ad7c03dedaab831c259f2041767227d955e584f3 100644 (file)
@@ -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)