mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
cleanup: remove unused variables
This commit is contained in:
parent
926a565781
commit
094488ffab
@ -988,7 +988,6 @@ int lv_mirror_image_in_sync(const struct logical_volume *lv)
|
||||
int lv_raid_image_in_sync(const struct logical_volume *lv)
|
||||
{
|
||||
unsigned s;
|
||||
dm_percent_t percent;
|
||||
char *raid_health;
|
||||
struct lv_segment *seg, *raid_seg = NULL;
|
||||
|
||||
|
@ -1826,7 +1826,6 @@ static int _lvconvert_raid(struct logical_volume *lv, struct lvconvert_params *l
|
||||
struct dm_list *failed_pvs;
|
||||
struct cmd_context *cmd = lv->vg->cmd;
|
||||
struct lv_segment *seg = first_seg(lv);
|
||||
dm_percent_t sync_percent;
|
||||
|
||||
if (_linear_type_requested(lp->type_str)) {
|
||||
if (arg_is_set(cmd, mirrors_ARG) && (arg_uint_value(cmd, mirrors_ARG, 0) != 0)) {
|
||||
|
Loading…
Reference in New Issue
Block a user