1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-21 22:04:19 +03:00

Remove handles_missing_pvs assignment after call to create_toolcontext().

This variable is set at the top of create_toolcontext() to 0.
Nothing later in create_toolcontext() changes the value.
In init_lvm(), nothing between create_toolcontext() call and this assignment
changes the value.  Thus, the assignment is redundant.
This commit is contained in:
Dave Wysochanski 2008-12-11 03:31:10 +00:00
parent 6f4c0fb93d
commit b0eb2d3ac5

View File

@ -1105,7 +1105,6 @@ struct cmd_context *init_lvm(unsigned is_static)
cmd->fmt = arg_ptr_value(cmd, metadatatype_ARG,
cmd->current_settings.fmt);
cmd->handles_missing_pvs = 0;
return cmd;
}