From: Garrett Wollman Date: Mon, 16 Jul 2012 02:47:51 +0000 (-0400) Subject: afs_vcache: remove redundant assignment in afs_FlushAllVCaches() X-Git-Tag: upstream/1.8.0_pre1^2~2211 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=f25734e9226232e03a397e0eded9a873ea0dfaa8;p=packages%2Fo%2Fopenafs.git afs_vcache: remove redundant assignment in afs_FlushAllVCaches() Don't do in the body of the loop that which the loop itself already does. Change-Id: I41b5cbee86ab783d59024d8961c933525a5128d7 Reviewed-on: http://gerrit.openafs.org/7780 Reviewed-by: Andrew Deason Reviewed-by: Derrick Brashear Tested-by: BuildBot --- diff --git a/src/afs/afs_vcache.c b/src/afs/afs_vcache.c index 59762fb65..350ba78af 100644 --- a/src/afs/afs_vcache.c +++ b/src/afs/afs_vcache.c @@ -852,7 +852,6 @@ afs_FlushAllVCaches(void) if (slept) { goto retry; } - tvc = nvc; } }