summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-05-31 20:09:01 +0000
committerphk <phk@FreeBSD.org>2003-05-31 20:09:01 +0000
commitddccb1d2874e518630a10fcca97810a4d6805d37 (patch)
treee535dbcaa5389ae0c31a82966b10a0b676fdf85b /sys/kern
parent0b4dbc280fc3199508b7872a54a605aff99be81b (diff)
downloadFreeBSD-src-ddccb1d2874e518630a10fcca97810a4d6805d37.zip
FreeBSD-src-ddccb1d2874e518630a10fcca97810a4d6805d37.tar.gz
Remove unused variable and now unbalanced call to splbio();
Found by: FlexeLint
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/vfs_subr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index cf53771..1608cde 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);
/*
OpenPOWER on IntegriCloud