summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2005-01-28 13:08:21 +0000
committerphk <phk@FreeBSD.org>2005-01-28 13:08:21 +0000
commit4f73d0b6fc7bb30749ac302949df13ac9a76c817 (patch)
tree5ca805b55e9c6cfd23a651c8531e12017f841cf6 /sys/kern
parentf8b1ba904fabe423559402854cc1b025ada4641b (diff)
downloadFreeBSD-src-4f73d0b6fc7bb30749ac302949df13ac9a76c817.zip
FreeBSD-src-4f73d0b6fc7bb30749ac302949df13ac9a76c817.tar.gz
Remove unused argument to vrecycle()
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/vfs_subr.c8
1 files changed, 1 insertions, 7 deletions
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);
}
OpenPOWER on IntegriCloud