Skip to content

Commit

Permalink
cli : logically dead code removed
Browse files Browse the repository at this point in the history
CID : 1124396
      1124398

Change-Id: I708703529bbfe78c295523d2f4b85a55566a6249
BUG: 789278
Signed-off-by: Manikandan Selvaganesh <mselvaga@redhat.com>
Reviewed-on: http://review.gluster.org/9606
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
  • Loading branch information
Manikandan Selvaganesh authored and vbellur committed Mar 30, 2015
1 parent 49d6894 commit 2355012
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions cli/src/cli-cmd-volume.c
Original file line number Diff line number Diff line change
Expand Up @@ -1555,10 +1555,6 @@ cli_cmd_quota_cbk (struct cli_state *state, struct cli_cmd_word *word,

CLI_LOCAL_INIT (local, words, frame, options);
proc = &cli_rpc_prog->proctable[GLUSTER_CLI_QUOTA];
if (proc == NULL) {
ret = -1;
goto out;
}

if (proc->fn)
ret = proc->fn (frame, THIS, options);
Expand Down Expand Up @@ -1889,10 +1885,6 @@ cli_cmd_volume_gsync_set_cbk (struct cli_state *state, struct cli_cmd_word *word
cli_local_t *local = NULL;

proc = &cli_rpc_prog->proctable [GLUSTER_CLI_GSYNC_SET];
if (proc == NULL) {
ret = -1;
goto out;
}

frame = create_frame (THIS, THIS->ctx->pool);
if (frame == NULL) {
Expand Down

0 comments on commit 2355012

Please sign in to comment.