Signed-off-by: Laine Stump <laine(a)redhat.com>
---
src/storage/storage_util.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/storage/storage_util.c b/src/storage/storage_util.c
index 36b5b21a5b..9f46ea764b 100644
--- a/src/storage/storage_util.c
+++ b/src/storage/storage_util.c
@@ -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;
}
--
2.25.4