From a62f80f8e0d3e33e4a49835b8a8534df89e92fa2 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sat, 31 May 2003 20:09:01 +0000 Subject: [PATCH] Remove unused variable and now unbalanced call to splbio(); Found by: FlexeLint --- sys/kern/vfs_subr.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index cf537714322..1608cde18cc 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -893,13 +893,11 @@ getnewvnode(tag, mp, vops, vpp) vop_t **vops; struct vnode **vpp; { - int s; struct thread *td = curthread; /* XXX */ struct vnode *vp = NULL; struct vpollinfo *pollinfo = NULL; struct mount *vnmp; - s = splbio(); mtx_lock(&vnode_free_list_mtx); /*