1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

gcc: remove unused vg setting

This commit is contained in:
Zdenek Kabelac 2021-09-10 23:34:58 +02:00
parent 00ec716b4d
commit 064979dc32

View File

@ -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) static int _lvconvert_integrity_remove(struct cmd_context *cmd, struct logical_volume *lv)
{ {
struct volume_group *vg = lv->vg;
int ret = 0; int ret = 0;
if (!lv_is_integrity(lv) && !lv_is_raid(lv)) { if (!lv_is_integrity(lv) && !lv_is_raid(lv)) {