]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-linux-vfsops-remove-redundant-code-20060601
authorJoe Buehler <jbuehler@spirentcom.com>
Thu, 1 Jun 2006 16:59:56 +0000 (16:59 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 1 Jun 2006 16:59:56 +0000 (16:59 +0000)
FIXES 32783

remove redundancy

(cherry picked from commit 3fdb1902c04153e3522e36c091b073dc7419ac65)

src/afs/LINUX/osi_vfsops.c

index 63d14577b976abb499b452799a9aa08f4239696c..e79f2dda8071e4b9595a0a13ac09eda0ad59c73a 100644 (file)
@@ -344,10 +344,8 @@ afs_put_inode(struct inode *ip)
     struct vcache *vcp = VTOAFS(ip);
 
     AFS_GLOCK();
-    if (VREFCOUNT(vcp) == 2) {
-       if (VREFCOUNT(vcp) == 2)
-           afs_InactiveVCache(vcp, NULL);
-    }
+    if (VREFCOUNT(vcp) == 2) 
+       afs_InactiveVCache(vcp, NULL);
     AFS_GUNLOCK();
 }