From 4f73d0b6fc7bb30749ac302949df13ac9a76c817 Mon Sep 17 00:00:00 2001 From: phk Date: Fri, 28 Jan 2005 13:08:21 +0000 Subject: Remove unused argument to vrecycle() --- sys/kern/vfs_subr.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'sys/kern') diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index a40f2a7..2ac9cf2 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -2213,17 +2213,11 @@ vx_unlock(struct vnode *vp) * Release the passed interlock if the vnode will be recycled. */ int -vrecycle(vp, inter_lkp, td) - struct vnode *vp; - struct mtx *inter_lkp; - struct thread *td; +vrecycle(struct vnode *vp, struct thread *td) { VI_LOCK(vp); if (vp->v_usecount == 0) { - if (inter_lkp) { - mtx_unlock(inter_lkp); - } vgonel(vp, td); return (1); } -- cgit v1.1