summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorankit <anraj@redhat.com>2016-08-24 21:34:35 +0530
committerJeff Darcy <jdarcy@redhat.com>2016-08-29 09:24:38 -0700
commitec5c0ca6768b33761aa438f9948c4a6daaf4ee3c (patch)
treeead8488afb7b55aca0822f346be97dd92fc453d5
parente2e93882b0441c46d63ca78e56331abdd42d80cc (diff)
rpc: dead code fix
CID: 1357866 Change-Id: I117cfd455b05df8d2bd9c8df4a081ffe4d053d09 BUG: 789278 Signed-off-by: ankit <anraj@redhat.com> Reviewed-on: http://review.gluster.org/15310 Smoke: Gluster Build System <jenkins@build.gluster.org> Tested-by: ankitraj NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
-rw-r--r--rpc/xdr/src/glusterfs3.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpc/xdr/src/glusterfs3.h b/rpc/xdr/src/glusterfs3.h
index 60f4242e345..e95252a73be 100644
--- a/rpc/xdr/src/glusterfs3.h
+++ b/rpc/xdr/src/glusterfs3.h
@@ -410,9 +410,9 @@ gf_proto_cache_invalidation_to_upcall (xlator_t *this,
(gf_c_req->xdata).xdata_val,
(gf_c_req->xdata).xdata_len, ret,
ret, out);
- if (ret > 0)
+ if (ret > 0)
ret = -ret;
-out:
+ out:
return ret;
}
#endif /* !_GLUSTERFS3_H */