From bebda81688be291c40eb41d279c9f31a880ac7a3 Mon Sep 17 00:00:00 2001 From: phk Date: Sat, 31 May 2003 20:19:13 +0000 Subject: emove unused variable(s). Found by: FlexeLint --- sys/fs/cd9660/cd9660_lookup.c | 2 -- sys/isofs/cd9660/cd9660_lookup.c | 2 -- 2 files changed, 4 deletions(-) (limited to 'sys') diff --git a/sys/fs/cd9660/cd9660_lookup.c b/sys/fs/cd9660/cd9660_lookup.c index 5c7805e..657a052 100644 --- a/sys/fs/cd9660/cd9660_lookup.c +++ b/sys/fs/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; /* 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; /* -- cgit v1.1