summaryrefslogtreecommitdiffstats
path: root/net/9p/mod.c
diff options
context:
space:
mode:
authorEric Van Hensbergen <ericvh@ericvh-laptop.(none)>2007-10-17 14:35:15 -0500
committerEric Van Hensbergen <ericvh@ericvh-desktop.austin.ibm.com>2007-10-17 14:35:15 -0500
commit982c37cfb6e61c0e64634abc2e305d757c1405b2 (patch)
tree084d81419cde8c6cd807d1a909ff413e5589c2ed /net/9p/mod.c
parentfb0466c3ae7f1c73f70072af8fd27ac166908a2f (diff)
downloadop-kernel-dev-982c37cfb6e61c0e64634abc2e305d757c1405b2.zip
op-kernel-dev-982c37cfb6e61c0e64634abc2e305d757c1405b2.tar.gz
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 b8ac063..41d70f4 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();
}
OpenPOWER on IntegriCloud