Remove unused variable and now unbalanced call to splbio();

Found by:       FlexeLint
This commit is contained in:
Poul-Henning Kamp 2003-05-31 20:09:01 +00:00
parent 21b16e9715
commit a62f80f8e0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=115536

View File

@ -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);
/*