summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_init.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-12-12 16:30:34 +0000
committerpeter <peter@FreeBSD.org>1999-12-12 16:30:34 +0000
commit88b35ea77bf6e43a7f3fc5a5d63eb79af3d16bb4 (patch)
treea1ab183add5d0220ae274644942d55bfe4c136df /sys/kern/vfs_init.c
parent79357d44387910c834360df52d02b06ba35c7665 (diff)
downloadFreeBSD-src-88b35ea77bf6e43a7f3fc5a5d63eb79af3d16bb4.zip
FreeBSD-src-88b35ea77bf6e43a7f3fc5a5d63eb79af3d16bb4.tar.gz
The sysctl mod_xx hack is no longer required now that we have totally
dynamic sysctl registration.
Diffstat (limited to 'sys/kern/vfs_init.c')
-rw-r--r--sys/kern/vfs_init.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/kern/vfs_init.c b/sys/kern/vfs_init.c
index c81fb56..bae031b 100644
--- a/sys/kern/vfs_init.c
+++ b/sys/kern/vfs_init.c
@@ -53,16 +53,6 @@
MALLOC_DEFINE(M_VNODE, "vnodes", "Dynamically allocated vnodes");
/*
- * XXX this bloat just exands the sysctl__vfs linker set a little so that
- * we can attach sysctls for VFS modules without expanding the linker set.
- * Currently (1998/09/06), only one VFS uses sysctls, so 2 extra linker
- * set slots are more than sufficient.
- */
-static int mod_xx;
-SYSCTL_INT(_vfs, OID_AUTO, mod0, CTLFLAG_RD, &mod_xx, 0, "");
-SYSCTL_INT(_vfs, OID_AUTO, mod1, CTLFLAG_RD, &mod_xx, 0, "");
-
-/*
* Zone for namei
*/
struct vm_zone *namei_zone;
OpenPOWER on IntegriCloud