[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[lvm-devel] [PATCH 10/11] Remove redundant init_mirror_in_sync() call in init_lvm().



_mirror_in_sync is statically initialized to 0 in lvm-globals.c,
so no need to set it in init_lvm().  Only other callers that may
set this are later in execution.

Signed-off-by: Dave Wysochanski <dwysocha redhat com>
---
 tools/lvmcmdline.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/tools/lvmcmdline.c b/tools/lvmcmdline.c
index de98940..162be2d 100644
--- a/tools/lvmcmdline.c
+++ b/tools/lvmcmdline.c
@@ -1092,7 +1092,6 @@ struct cmd_context *init_lvm(unsigned is_static)
 		return_NULL;
 
 	init_full_scan_done(0);
-	init_mirror_in_sync(0);
 
 	cmd->fmt = arg_ptr_value(cmd, metadatatype_ARG,
 				 cmd->current_settings.fmt);
-- 
1.5.5.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]