1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-20 06:50:22 +03:00

storage: eliminate unnecessary labels

Signed-off-by: Laine Stump <laine@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Laine Stump 2020-07-02 23:24:51 -04:00
parent e205c3ebfa
commit 322727a4cb

View File

@ -749,7 +749,7 @@ storageBackendCreateQemuImgOpts(virStorageEncryptionInfoDefPtr encinfo,
_("lazy_refcounts not supported with compat"
" level %s"),
info->compat);
goto error;
return -1;
}
virBufferAddLit(&buf, "lazy_refcounts,");
}
@ -759,9 +759,6 @@ storageBackendCreateQemuImgOpts(virStorageEncryptionInfoDefPtr encinfo,
*opts = virBufferContentAndReset(&buf);
return 0;
error:
return -1;
}