From ddcf0183adebe528a3b069358a1f856eeeae5857 Mon Sep 17 00:00:00 2001 From: Muthu-vigneshwaran Date: Thu, 11 Aug 2016 17:07:29 +0530 Subject: cli,rpc : Removing logically dead code CID = 1357865, 1357866 Change-Id: I05eb345e9357d889872d259a600759392b188bb3 BUG: 789278 Signed-off-by: Muthu-vigneshwaran Reviewed-on: http://review.gluster.org/15148 Tested-by: Muthu Vigneshwaran Smoke: Gluster Build System CentOS-regression: Gluster Build System Reviewed-by: Prashanth Pai NetBSD-regression: NetBSD Build System Reviewed-by: Manikandan Selvaganesh --- rpc/xdr/src/glusterfs3.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'rpc/xdr/src/glusterfs3.h') diff --git a/rpc/xdr/src/glusterfs3.h b/rpc/xdr/src/glusterfs3.h index 1977b4810b7..60f4242e345 100644 --- a/rpc/xdr/src/glusterfs3.h +++ b/rpc/xdr/src/glusterfs3.h @@ -371,8 +371,6 @@ gf_proto_cache_invalidation_from_upcall (xlator_t *this, ret = 0; GF_PROTOCOL_DICT_SERIALIZE (this, gf_c_data->dict, &(gf_c_req->xdata).xdata_val, (gf_c_req->xdata).xdata_len, ret, out); - if (ret > 0) - ret = -ret; out: return ret; } -- cgit