diff options
author | Manikandan Selvaganesh <mselvaga@redhat.com> | 2015-11-27 11:18:00 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2015-12-02 07:34:20 -0800 |
commit | 4c6a915811753840b0d1b5685fcaa3e593d9b3cd (patch) | |
tree | 990290d81284caacc4b7db3fcbc1d72304d17ac0 /cli/src | |
parent | 22c6724b72f57778a686bf8dafa4a495e6907316 (diff) |
cli/geo-rep : remove unused code
Backport of http://review.gluster.org/#/c/12771/
> Change-Id: I8a8e27b4d6c35ea5e57bd0b556fd2c6ab7b496ab
> BUG: 1285968
> Signed-off-by: Manikandan Selvaganesh <mselvaga@redhat.com>
> Reviewed-on: http://review.gluster.org/12771
> Tested-by: NetBSD Build System <jenkins@build.gluster.org>
> Reviewed-by: Saravanakumar Arumugam <sarumuga@redhat.com>
> Tested-by: Gluster Build System <jenkins@build.gluster.com>
> Reviewed-by: Venky Shankar <vshankar@redhat.com>
Change-Id: I8a8e27b4d6c35ea5e57bd0b556fd2c6ab7b496ab
BUG: 1286517
Signed-off-by: Manikandan Selvaganesh <mselvaga@redhat.com>
Reviewed-on: http://review.gluster.org/12814
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'cli/src')
-rw-r--r-- | cli/src/cli-rpc-ops.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c index 935977ffd89..1c0eeaf60aa 100644 --- a/cli/src/cli-rpc-ops.c +++ b/cli/src/cli-rpc-ops.c @@ -5653,10 +5653,7 @@ gf_cli_gsync_set_cbk (struct rpc_req *req, struct iovec *iov, status_detail = dict_get_str_boolean (dict, "status-detail", _gf_false); - if (status_detail) - ret = gf_cli_gsync_status_output (dict, status_detail); - else - ret = gf_cli_gsync_status_output (dict, status_detail); + ret = gf_cli_gsync_status_output (dict, status_detail); break; case GF_GSYNC_OPTION_TYPE_DELETE: |