summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorrodrigc <rodrigc@FreeBSD.org>2006-12-09 17:24:18 +0000
committerrodrigc <rodrigc@FreeBSD.org>2006-12-09 17:24:18 +0000
commitef305f6c5dabdfee29b5bb238f95bd58aed2ce45 (patch)
tree9f7b2dbc202bd6617b8a89e419db6972407cd249 /sys
parent930aa00466895efa8cce6dfd71f61d9b9e896104 (diff)
downloadFreeBSD-src-ef305f6c5dabdfee29b5bb238f95bd58aed2ce45.zip
FreeBSD-src-ef305f6c5dabdfee29b5bb238f95bd58aed2ce45.tar.gz
Remove unused variable in unionfs_root().
Submitted by: daichi, Masanori OZAWA
Diffstat (limited to 'sys')
-rw-r--r--sys/fs/unionfs/union_vfsops.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/fs/unionfs/union_vfsops.c b/sys/fs/unionfs/union_vfsops.c
index 70634c8..53baf52 100644
--- a/sys/fs/unionfs/union_vfsops.c
+++ b/sys/fs/unionfs/union_vfsops.c
@@ -398,12 +398,10 @@ static int
unionfs_root(struct mount *mp, int flags, struct vnode **vpp, struct thread *td)
{
struct unionfs_mount *ump;
- struct unionfs_node *unp;
struct vnode *vp;
ump = MOUNTTOUNIONFSMOUNT(mp);
vp = ump->um_rootvp;
- unp = VTOUNIONFS(vp);
UNIONFSDEBUG("unionfs_root: rootvp=%p locked=%x\n",
vp, VOP_ISLOCKED(vp, td));
OpenPOWER on IntegriCloud