From 322727a4cbe4b4bec10db92fd6e7fcae452e3e95 Mon Sep 17 00:00:00 2001 From: Laine Stump Date: Thu, 2 Jul 2020 23:24:51 -0400 Subject: [PATCH] storage: eliminate unnecessary labels MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Laine Stump Reviewed-by: Ján Tomko --- 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; }