From 064979dc3238171cc4029ebfcbf63ad71cc7d9cd Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Fri, 10 Sep 2021 23:34:58 +0200 Subject: [PATCH] gcc: remove unused vg setting --- tools/lvconvert.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/lvconvert.c b/tools/lvconvert.c index d73e16e3a..33ab0637d 100644 --- a/tools/lvconvert.c +++ b/tools/lvconvert.c @@ -6294,7 +6294,6 @@ int lvconvert_to_cache_with_cachevol_cmd(struct cmd_context *cmd, int argc, char static int _lvconvert_integrity_remove(struct cmd_context *cmd, struct logical_volume *lv) { - struct volume_group *vg = lv->vg; int ret = 0; if (!lv_is_integrity(lv) && !lv_is_raid(lv)) {