summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cli/src/cli-cmd-parser.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/cli/src/cli-cmd-parser.c b/cli/src/cli-cmd-parser.c
index 9777e655fe3..afa16110490 100644
--- a/cli/src/cli-cmd-parser.c
+++ b/cli/src/cli-cmd-parser.c
@@ -1184,11 +1184,6 @@ cli_cmd_volume_remove_brick_parse (const char **words, int wordcount,
}
}
- if (wordcount < 4) {
- ret = -1;
- goto out;
- }
-
ret = dict_set_int32 (dict, "command", command);
if (ret)
gf_log ("cli", GF_LOG_INFO, "failed to set 'command' %d",