aboutsummaryrefslogtreecommitdiffstats
path: root/net/9p/mod.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/9p/mod.c')
-rw-r--r--net/9p/mod.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/net/9p/mod.c b/net/9p/mod.c
index b8ac0635ad83..41d70f47375d 100644
--- a/net/9p/mod.c
+++ b/net/9p/mod.c
@@ -41,8 +41,6 @@ MODULE_PARM_DESC(debug, "9P debugging level");
41 41
42extern int p9_mux_global_init(void); 42extern int p9_mux_global_init(void);
43extern void p9_mux_global_exit(void); 43extern void p9_mux_global_exit(void);
44extern int p9_sysctl_register(void);
45extern void p9_sysctl_unregister(void);
46 44
47/* 45/*
48 * Dynamic Transport Registration Routines 46 * Dynamic Transport Registration Routines
@@ -118,12 +116,6 @@ static int __init init_p9(void)
118 return ret; 116 return ret;
119 } 117 }
120 118
121 ret = p9_sysctl_register();
122 if (ret) {
123 printk(KERN_WARNING "9p: registering sysctl failed\n");
124 return ret;
125 }
126
127 return ret; 119 return ret;
128} 120}
129 121
@@ -134,7 +126,6 @@ static int __init init_p9(void)
134 126
135static void __exit exit_p9(void) 127static void __exit exit_p9(void)
136{ 128{
137 p9_sysctl_unregister();
138 p9_mux_global_exit(); 129 p9_mux_global_exit();
139} 130}
140 131