From: Jim Rees Date: Thu, 26 Jan 2006 18:13:06 +0000 (+0000) Subject: remove-spurious-var-20060126 X-Git-Tag: openafs-devel-1_5_0~65 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=42f24a53f5aa7ad713654789928a57f8dac52102;p=packages%2Fo%2Fopenafs.git remove-spurious-var-20060126 Remove unused local variable "lock". --- diff --git a/src/afs/afs_vcache.c b/src/afs/afs_vcache.c index c338957f6..e67dfe7e7 100644 --- a/src/afs/afs_vcache.c +++ b/src/afs/afs_vcache.c @@ -2755,7 +2755,6 @@ afs_NFSFindVCache(struct vcache **avcp, struct VenusFid *afid) && ((tvc->fid.Fid.Unique & 0xffffff) == afid->Fid.Unique) && (tvc->fid.Cell == afid->Cell)) { if (tvc->states & CVInit) { - int lock; ReleaseSharedLock(&afs_xvcache); afs_osi_Sleep(&tvc->states); goto loop;