aboutsummaryrefslogtreecommitdiffstats
path: root/net/appletalk/sysctl_net_atalk.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/appletalk/sysctl_net_atalk.c')
-rw-r--r--net/appletalk/sysctl_net_atalk.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/net/appletalk/sysctl_net_atalk.c b/net/appletalk/sysctl_net_atalk.c
index 5edce8f70cb7..ebb864361f7a 100644
--- a/net/appletalk/sysctl_net_atalk.c
+++ b/net/appletalk/sysctl_net_atalk.c
@@ -42,17 +42,11 @@ static struct ctl_table atalk_table[] = {
42 { }, 42 { },
43}; 43};
44 44
45static struct ctl_path atalk_path[] = {
46 { .procname = "net", },
47 { .procname = "appletalk", },
48 { }
49};
50
51static struct ctl_table_header *atalk_table_header; 45static struct ctl_table_header *atalk_table_header;
52 46
53void atalk_register_sysctl(void) 47void atalk_register_sysctl(void)
54{ 48{
55 atalk_table_header = register_net_sysctl_table(&init_net, atalk_path, atalk_table); 49 atalk_table_header = register_net_sysctl(&init_net, "net/appletalk", atalk_table);
56} 50}
57 51
58void atalk_unregister_sysctl(void) 52void atalk_unregister_sysctl(void)