From ddcf0183adebe528a3b069358a1f856eeeae5857 Mon Sep 17 00:00:00 2001 From: Muthu-vigneshwaran Date: Thu, 11 Aug 2016 17:07:29 +0530 Subject: cli,rpc : Removing logically dead code CID = 1357865, 1357866 Change-Id: I05eb345e9357d889872d259a600759392b188bb3 BUG: 789278 Signed-off-by: Muthu-vigneshwaran Reviewed-on: http://review.gluster.org/15148 Tested-by: Muthu Vigneshwaran Smoke: Gluster Build System CentOS-regression: Gluster Build System Reviewed-by: Prashanth Pai NetBSD-regression: NetBSD Build System Reviewed-by: Manikandan Selvaganesh --- cli/src/cli-cmd-parser.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'cli/src/cli-cmd-parser.c') diff --git a/cli/src/cli-cmd-parser.c b/cli/src/cli-cmd-parser.c index e0a92ddbc6e..be0a8e756d5 100644 --- a/cli/src/cli-cmd-parser.c +++ b/cli/src/cli-cmd-parser.c @@ -2814,10 +2814,6 @@ cli_cmd_gsync_set_parse (const char **words, int wordcount, dict_t **options) ret = -1; goto out; } - if (!slavei || !masteri) { - ret = -1; - goto out; - } ret = dict_set_uint32 (dict, "reset-sync-time", _gf_true); if (ret) goto out; -- cgit