diff options
author | phk <phk@FreeBSD.org> | 1998-10-25 17:44:59 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1998-10-25 17:44:59 +0000 |
commit | 13c66194f4b66073c693cdb830b5091d9d735e17 (patch) | |
tree | 6fad3c4a8f13b0ab244bebf9795bb095be5ee8d7 /sys/kern/vfs_init.c | |
parent | b17bde009a29901e8647e3d0c680a716f3526a2d (diff) | |
download | FreeBSD-src-13c66194f4b66073c693cdb830b5091d9d735e17.zip FreeBSD-src-13c66194f4b66073c693cdb830b5091d9d735e17.tar.gz |
Nitpicking and dusting performed on a train. Removes trivial warnings
about unused variables, labels and other lint.
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 147c4fd..2160675 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; |