diff options
author | Michael Scherer <misc@redhat.com> | 2017-02-22 17:34:02 +0100 |
---|---|---|
committer | Shyamsundar Ranganathan <srangana@redhat.com> | 2017-02-26 11:30:43 -0500 |
commit | 8bb29ed9d0d695c66b3be8a9aedb92d87b0c4054 (patch) | |
tree | 9aa13b9fa1ff9ac3c88ef29fc61bfcda0da3e3c3 /xlators/mgmt | |
parent | 04582fa313a4782d7898afb56a0747a5dcca3a92 (diff) |
Remove deadcode
Found by coverity, ret is already test in the previous 'if'.
Change-Id: Iefb7da07c1144470c2322f44b28f98a5904343b4
BUG: 789278
Signed-off-by: Michael Scherer <misc@redhat.com>
Reviewed-on: https://review.gluster.org/16718
Smoke: Gluster Build System <jenkins@build.gluster.org>
Tested-by: Michael Scherer <misc@fedoraproject.org>
Reviewed-by: Shyamsundar Ranganathan <srangana@redhat.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'xlators/mgmt')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-utils.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.c b/xlators/mgmt/glusterd/src/glusterd-utils.c index e950f6cce6f..baa2e35b3e5 100644 --- a/xlators/mgmt/glusterd/src/glusterd-utils.c +++ b/xlators/mgmt/glusterd/src/glusterd-utils.c @@ -10849,9 +10849,6 @@ glusterd_defrag_volume_node_rsp (dict_t *req_dict, dict_t *rsp_dict, goto out; } - if (ret) - goto out; - if (rsp_dict) { ret = glusterd_defrag_volume_status_update (volinfo, rsp_dict, |