diff --git a/lib/metadata/lv.c b/lib/metadata/lv.c index 60374ddd3..70036f90b 100644 --- a/lib/metadata/lv.c +++ b/lib/metadata/lv.c @@ -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; diff --git a/tools/lvconvert.c b/tools/lvconvert.c index 40951013a..3607247b4 100644 --- a/tools/lvconvert.c +++ b/tools/lvconvert.c @@ -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)) {