Remove unused variable and now unbalanced call to splbio();
Found by: FlexeLint
This commit is contained in:
parent
21b16e9715
commit
a62f80f8e0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=115536
@ -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);
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user