From 023bd7c6bf24588c8650d3cdc2bbe1a905ec1820 Mon Sep 17 00:00:00 2001 From: trasz Date: Mon, 23 Apr 2012 14:10:34 +0000 Subject: Remove unused thread argument to vrecycle(). Reviewed by: kib --- sys/fs/tmpfs/tmpfs_vnops.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/fs/tmpfs') diff --git a/sys/fs/tmpfs/tmpfs_vnops.c b/sys/fs/tmpfs/tmpfs_vnops.c index be42f9a..09780c8 100644 --- a/sys/fs/tmpfs/tmpfs_vnops.c +++ b/sys/fs/tmpfs/tmpfs_vnops.c @@ -1577,7 +1577,6 @@ static int tmpfs_inactive(struct vop_inactive_args *v) { struct vnode *vp = v->a_vp; - struct thread *l = v->a_td; struct tmpfs_node *node; @@ -1586,7 +1585,7 @@ tmpfs_inactive(struct vop_inactive_args *v) node = VP_TO_TMPFS_NODE(vp); if (node->tn_links == 0) - vrecycle(vp, l); + vrecycle(vp); return 0; } -- cgit v1.1