summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_init.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1999-07-29 07:14:28 +0000
committerbde <bde@FreeBSD.org>1999-07-29 07:14:28 +0000
commite0dd4f4f32db800163a46ddf317dc7eafdf52d66 (patch)
tree7b1f6cac8bac48a85bc8e4c43a6c01df14592fd1 /sys/kern/vfs_init.c
parent11b4b3493ee89d5929c58bec91fc7e99cdd39133 (diff)
downloadFreeBSD-src-e0dd4f4f32db800163a46ddf317dc7eafdf52d66.zip
FreeBSD-src-e0dd4f4f32db800163a46ddf317dc7eafdf52d66.tar.gz
Removed references to a nonexistent variable. This fixes building kernels
without -O.
Diffstat (limited to 'sys/kern/vfs_init.c')
-rw-r--r--sys/kern/vfs_init.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/kern/vfs_init.c b/sys/kern/vfs_init.c
index d88deca..8ea1226 100644
--- a/sys/kern/vfs_init.c
+++ b/sys/kern/vfs_init.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)vfs_init.c 8.3 (Berkeley) 1/4/94
- * $Id: vfs_init.c,v 1.44 1999/02/16 10:49:49 dfr Exp $
+ * $Id: vfs_init.c,v 1.45 1999/03/07 16:06:41 dfr Exp $
*/
@@ -58,7 +58,6 @@ MALLOC_DEFINE(M_VNODE, "vnodes", "Dynamically allocated vnodes");
* Currently (1998/09/06), only one VFS uses sysctls, so 2 extra linker
* set slots are more than sufficient.
*/
-extern struct linker_set sysctl__vfs;
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, "");
@@ -330,12 +329,10 @@ SYSINIT(vfs, SI_SUB_VFS, SI_ORDER_FIRST, vfsinit, NULL)
int
vfs_register(struct vfsconf *vfc)
{
- struct linker_set *l;
struct sysctl_oid *oidp;
struct vfsconf *vfsp;
vfsp = NULL;
- l = &sysctl__vfs;
if (vfsconf)
for (vfsp = vfsconf; vfsp->vfc_next; vfsp = vfsp->vfc_next)
if (strcmp(vfc->vfc_name, vfsp->vfc_name) == 0)
OpenPOWER on IntegriCloud