1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

Remove redundant init_msg_prefix() and init_cmd_name().

This is very obvious - _init_logging() makes the identical init_msg_prefix()
and init_cmd_name() calls with cmd->default_settings so these calls are
clearly redundant after calling create_toolcontext().
This commit is contained in:
Dave Wysochanski 2008-12-11 03:34:43 +00:00
parent f059ab7150
commit 3368322e0d

View File

@ -1094,9 +1094,6 @@ struct cmd_context *init_lvm(unsigned is_static)
init_full_scan_done(0);
init_mirror_in_sync(0);
init_msg_prefix(cmd->default_settings.msg_prefix);
init_cmd_name(cmd->default_settings.cmd_name);
cmd->fmt = arg_ptr_value(cmd, metadatatype_ARG,
cmd->current_settings.fmt);