From ee6ae7a6d0649c405e8bf096d4781f74494d5263 Mon Sep 17 00:00:00 2001 From: Muthu-vigneshwaran Date: Mon, 5 Dec 2016 21:02:05 +0530 Subject: glusterfs : Removing logically dead code CID = 1356502 BUG: 789278 Change-Id: I11a814addc6607902c12aca8f4efec5741cbd7d3 Signed-off-by: Muthu-vigneshwaran Reviewed-on: http://review.gluster.org/16028 Tested-by: Muthu Vigneshwaran Smoke: Gluster Build System NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System Reviewed-by: Jeff Darcy Reviewed-by: Niels de Vos --- rpc/xdr/src/glusterfs3.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'rpc/xdr') diff --git a/rpc/xdr/src/glusterfs3.h b/rpc/xdr/src/glusterfs3.h index b74ab933800..3ca608467b9 100644 --- a/rpc/xdr/src/glusterfs3.h +++ b/rpc/xdr/src/glusterfs3.h @@ -247,8 +247,6 @@ gf_proto_recall_lease_from_upcall (xlator_t *this, GF_PROTOCOL_DICT_SERIALIZE (this, tmp->dict, &(recall_lease->xdata).xdata_val, (recall_lease->xdata).xdata_len, ret, out); - if (ret > 0) - ret = -ret; out: return ret; @@ -410,10 +408,6 @@ 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) { - ret = -ret; - goto out; - } /* If no dict was sent, create an empty dict, so that each xlator * need not check if empty then create new dict. Will be unref'd by the -- cgit