summaryrefslogtreecommitdiffstats
path: root/sys/isofs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-05-31 20:19:13 +0000
committerphk <phk@FreeBSD.org>2003-05-31 20:19:13 +0000
commitbebda81688be291c40eb41d279c9f31a880ac7a3 (patch)
tree95cd95e092f3d33bf310d03107248b2ed5f13fbd /sys/isofs
parentbc9e7b689e933038c5c9ff0af8d6b181c942ceec (diff)
downloadFreeBSD-src-bebda81688be291c40eb41d279c9f31a880ac7a3.zip
FreeBSD-src-bebda81688be291c40eb41d279c9f31a880ac7a3.tar.gz
emove unused variable(s).
Found by: FlexeLint
Diffstat (limited to 'sys/isofs')
-rw-r--r--sys/isofs/cd9660/cd9660_lookup.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/isofs/cd9660/cd9660_lookup.c b/sys/isofs/cd9660/cd9660_lookup.c
index 5c7805e..657a052 100644
--- a/sys/isofs/cd9660/cd9660_lookup.c
+++ b/sys/isofs/cd9660/cd9660_lookup.c
@@ -106,7 +106,6 @@ cd9660_lookup(ap)
struct vnode *tdp; /* returned by cd9660_vget_internal */
u_long bmask; /* block offset mask */
int lockparent; /* 1 => lockparent flag is set */
- int wantparent; /* 1 => wantparent or lockparent flag */
int error;
ino_t ino = 0;
int reclen;
@@ -128,7 +127,6 @@ cd9660_lookup(ap)
dp = VTOI(vdp);
imp = dp->i_mnt;
lockparent = flags & LOCKPARENT;
- wantparent = flags & (LOCKPARENT|WANTPARENT);
cnp->cn_flags &= ~PDIRUNLOCK;
/*
OpenPOWER on IntegriCloud