diff options
author | Eric Van Hensbergen <ericvh@ericvh-laptop.(none)> | 2007-10-17 14:35:15 -0500 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@ericvh-desktop.austin.ibm.com> | 2007-10-17 14:35:15 -0500 |
commit | 982c37cfb6e61c0e64634abc2e305d757c1405b2 (patch) | |
tree | 084d81419cde8c6cd807d1a909ff413e5589c2ed /net/9p/mod.c | |
parent | fb0466c3ae7f1c73f70072af8fd27ac166908a2f (diff) | |
download | lwn-982c37cfb6e61c0e64634abc2e305d757c1405b2.tar.gz lwn-982c37cfb6e61c0e64634abc2e305d757c1405b2.zip |
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.c | 9 |
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"); extern int p9_mux_global_init(void); extern void p9_mux_global_exit(void); -extern int p9_sysctl_register(void); -extern void p9_sysctl_unregister(void); /* * Dynamic Transport Registration Routines @@ -118,12 +116,6 @@ static int __init init_p9(void) return ret; } - ret = p9_sysctl_register(); - if (ret) { - printk(KERN_WARNING "9p: registering sysctl failed\n"); - return ret; - } - return ret; } @@ -134,7 +126,6 @@ static int __init init_p9(void) static void __exit exit_p9(void) { - p9_sysctl_unregister(); p9_mux_global_exit(); } |