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:
parent
e205c3ebfa
commit
322727a4cb
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user