DEVEL15-linux-vfsops-remove-redundant-code-20060601

FIXES 32783

remove redundancy


(cherry picked from commit 3fdb1902c04153e3522e36c091b073dc7419ac65)
This commit is contained in:
Joe Buehler 2006-06-01 16:58:06 +00:00 committed by Derrick Brashear
parent 6654ea25ee
commit cf9182c61f

View 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();
}