git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Correct some redundant if() clauses
[openafs.git]
/
src
/
libadmin
/
vos
/
vsprocs.c
diff --git
a/src/libadmin/vos/vsprocs.c
b/src/libadmin/vos/vsprocs.c
index
ecc618b
..
f565019
100644
(file)
--- a/
src/libadmin/vos/vsprocs.c
+++ b/
src/libadmin/vos/vsprocs.c
@@
-4090,8
+4090,7
@@
UV_SetVolume(struct rx_connection *server, afs_int32 partition,
if (tid) {
etst = AFSVolEndTrans(server, tid, &rcode);
- /* FIXME: this looks like a typo */
- if (etst || etst) {
+ if (etst || rcode) {
if (!tst)
tst = (etst ? etst : rcode);
}