From 2b86da69df423a90b76932bd32b7a17bd5ac2add Mon Sep 17 00:00:00 2001 From: Sanju Rakonde Date: Mon, 22 Apr 2019 19:50:19 +0530 Subject: tier/cli: remove tier code to increase code coverage in cli Change-Id: I56cc09243dab23b3be86a7faac45001dda77181f updates: bz#1693692 Signed-off-by: Sanju Rakonde --- cli/src/cli-cmd-misc.c | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'cli/src/cli-cmd-misc.c') diff --git a/cli/src/cli-cmd-misc.c b/cli/src/cli-cmd-misc.c index 04dd2efc220..120d4ab69b5 100644 --- a/cli/src/cli-cmd-misc.c +++ b/cli/src/cli-cmd-misc.c @@ -25,7 +25,6 @@ extern rpc_clnt_prog_t *cli_rpc_prog; extern struct cli_cmd volume_cmds[]; extern struct cli_cmd bitrot_cmds[]; extern struct cli_cmd quota_cmds[]; -extern struct cli_cmd tier_cmds[]; extern struct cli_cmd cli_probe_cmds[]; extern struct cli_cmd cli_log_cmds[]; extern struct cli_cmd cli_system_cmds[]; @@ -59,18 +58,8 @@ cli_cmd_display_help(struct cli_state *state, struct cli_cmd_word *in_word, const char **words, int wordcount) { struct cli_cmd *cmd[] = { - cli_misc_cmds, - cli_probe_cmds, - volume_cmds, - bitrot_cmds, - quota_cmds, -#if !defined(__NetBSD__) - tier_cmds, -#endif - snapshot_cmds, - global_cmds, - NULL - }; + cli_misc_cmds, cli_probe_cmds, volume_cmds, bitrot_cmds, + quota_cmds, snapshot_cmds, global_cmds, NULL}; struct cli_cmd *cmd_ind = NULL; int i = 0; gf_boolean_t list_all = _gf_false; -- cgit