aboutsummaryrefslogtreecommitdiffstats
path: root/net/9p/mod.c
diff options
context:
space:
mode:
authorEric Van Hensbergen <ericvh@ericvh-laptop.(none)>2007-10-17 15:35:15 -0400
committerEric Van Hensbergen <ericvh@ericvh-desktop.austin.ibm.com>2007-10-17 15:35:15 -0400
commit982c37cfb6e61c0e64634abc2e305d757c1405b2 (patch)
tree084d81419cde8c6cd807d1a909ff413e5589c2ed /net/9p/mod.c
parentfb0466c3ae7f1c73f70072af8fd27ac166908a2f (diff)
9p: remove sysctl
A sysctl method was added to enable and disable debugging levels. After further review, it was decided that there are better approaches to doing this and the sysctl methodology isn't really desirable. This patch removes the sysctl code from 9p. Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
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