diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 1998-10-25 17:44:59 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1998-10-25 17:44:59 +0000 |
| commit | f5ef029e9226c3849bdd1100b4ffe4eb60fec3d0 (patch) | |
| tree | 859d5f5a3e4eed4faa56446dea4eb691bda4fb2c /sys/kern/vfs_init.c | |
| parent | 37906c686def70b561a4f3a0d7b5e57acff256fb (diff) | |
Notes
Diffstat (limited to 'sys/kern/vfs_init.c')
| -rw-r--r-- | sys/kern/vfs_init.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/sys/kern/vfs_init.c b/sys/kern/vfs_init.c index 147c4fd880a1..2160675dec3b 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.35 1998/10/16 03:55:00 peter Exp $ + * $Id: vfs_init.c,v 1.36 1998/10/25 10:52:34 bde Exp $ */ @@ -65,13 +65,6 @@ MALLOC_DEFINE(M_VNODE, "vnodes", "Dynamically allocated vnodes"); #define DODEBUG(A) #endif -static struct vfsconf void_vfsconf; - -#ifdef unused -extern struct linker_set vfs_opv_descs_; -#define vfs_opv_descs ((struct vnodeopv_desc **)vfs_opv_descs_.ls_items) -#endif - extern struct vnodeop_desc *vfs_op_descs[]; /* and the operations they perform */ @@ -243,8 +236,6 @@ static void vfsinit(dummy) void *dummy; { - struct vfsconf **vfc, *vfsp; - int maxtypenum; namei_zone = zinit("NAMEI", MAXPATHLEN, 0, 0, 2); @@ -275,7 +266,7 @@ vfs_register(vfc) struct linker_set *l; struct sysctl_oid **oidpp; struct vfsconf *vfsp; - int error, i, maxtypenum, exists; + int i, exists; vfsp = NULL; l = &sysctl__vfs; @@ -336,7 +327,6 @@ void vfs_mod_opv_init(handle) void *handle; { - int i; struct vnodeopv_desc *opv; opv = (struct vnodeopv_desc *)handle; |
