summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cli/src/cli-cmd-snapshot.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/cli/src/cli-cmd-snapshot.c b/cli/src/cli-cmd-snapshot.c
index 88b4737cd65..06e00c96b7e 100644
--- a/cli/src/cli-cmd-snapshot.c
+++ b/cli/src/cli-cmd-snapshot.c
@@ -35,10 +35,6 @@ cli_cmd_snapshot_cbk (struct cli_state *state, struct cli_cmd_word *word,
cli_local_t *local = NULL;
proc = &cli_rpc_prog->proctable [GLUSTER_CLI_SNAP];
- if (proc == NULL) {
- ret = -1;
- goto out;
- }
frame = create_frame (THIS, THIS->ctx->pool);
if (frame == NULL) {