From 016fc47da3d93f25890a0b023dbb52e38a32349a Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Sun, 12 Dec 1999 16:30:34 +0000 Subject: [PATCH] The sysctl mod_xx hack is no longer required now that we have totally dynamic sysctl registration. --- sys/kern/vfs_init.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/sys/kern/vfs_init.c b/sys/kern/vfs_init.c index c81fb5625b3c..bae031b01f09 100644 --- a/sys/kern/vfs_init.c +++ b/sys/kern/vfs_init.c @@ -52,16 +52,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 */