1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-30 17:18:21 +03:00

cleanup: remove unused variables

This commit is contained in:
Peter Rajnoha 2016-09-21 15:53:50 +02:00
parent 926a565781
commit 094488ffab
2 changed files with 0 additions and 2 deletions

View File

@ -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;

View File

@ -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)) {