summaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
authorBarak Sason Rofman <bsasonro@redhat.com>2019-11-05 15:54:29 +0200
committerSanju Rakonde <srakonde19@gmail.com>2019-12-19 09:10:01 +0000
commit8c6a19783e149dda1ab9143f48badfa617478e6e (patch)
tree94acbb5ecf91060b43f485f2e6ec518f02d8e49d /cli
parenta7eeab9b497724cdc4de5a82b880ba824a9d8358 (diff)
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 <bsasonro@redhat.com>
Diffstat (limited to 'cli')
-rw-r--r--cli/src/cli-cmd.c4
1 files changed, 0 insertions, 4 deletions
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)
{