From 8c6a19783e149dda1ab9143f48badfa617478e6e Mon Sep 17 00:00:00 2001 From: Barak Sason Rofman Date: Tue, 5 Nov 2019 15:54:29 +0200 Subject: glusterd: refactoring long method - Refactored set_fuse_mount_options(...) in order to shorten it. - Removed dead code and moved some method to it's apropriate location. - Converted loggin in set_fuse_mount_options(...) to structured logs fixes: bz#1768896 Change-Id: If865833d4c60d517da202871978691ef21235fe4 Signed-off-by: Barak Sason Rofman --- cli/src/cli-cmd.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'cli/src/cli-cmd.c') diff --git a/cli/src/cli-cmd.c b/cli/src/cli-cmd.c index 8c069055b64..c8a84475b55 100644 --- a/cli/src/cli-cmd.c +++ b/cli/src/cli-cmd.c @@ -30,10 +30,6 @@ static pthread_mutex_t conn_mutex = PTHREAD_MUTEX_INITIALIZER; int cli_op_ret = 0; int connected = 0; -int -cli_cmd_log_help_cbk(struct cli_state *state, struct cli_cmd_word *in_word, - const char **words, int wordcount); - static unsigned cli_cmd_needs_connection(struct cli_cmd_word *word) { -- cgit