]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemuMigrationCookieXMLParse: Remove comment mentioning that error was already set
authorPeter Krempa <pkrempa@redhat.com>
Wed, 30 Sep 2020 13:04:45 +0000 (15:04 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 5 Oct 2020 13:58:52 +0000 (15:58 +0200)
Most of our functions report errors so there's no need to mention it
here again.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_migration_cookie.c

index f901041ee13e351ea3e5e09ce10721d976c92b0c..f15dd6c4c0ea12fb387654d591c391a04d00cd30 100644 (file)
@@ -1307,11 +1307,8 @@ qemuMigrationCookieXMLParse(qemuMigrationCookiePtr mig,
                                                 VIR_DOMAIN_DEF_PARSE_INACTIVE |
                                                 VIR_DOMAIN_DEF_PARSE_ABI_UPDATE_MIGRATION |
                                                 VIR_DOMAIN_DEF_PARSE_SKIP_VALIDATE);
-        if (!mig->persistent) {
-            /* virDomainDefParseNode already reported
-             * an error for us */
+        if (!mig->persistent)
             goto error;
-        }
     }
 
     if ((flags & QEMU_MIGRATION_COOKIE_NETWORK) &&