]> git.proxmox.com Git - mirror_qemu.git/blobdiff - bootdevice.c
9pfs: fix multiple flush for same request
[mirror_qemu.git] / bootdevice.c
index bb9c08e5357341bc96f87950d3df1c22d5a93ff8..33e3029e40f4017ea6c548fd0d119cc89e497b5e 100644 (file)
@@ -302,9 +302,7 @@ static void device_set_bootindex(Object *obj, Visitor *v, const char *name,
     add_boot_device_path(*prop->bootindex, prop->dev, prop->suffix);
 
 out:
-    if (local_err) {
-        error_propagate(errp, local_err);
-    }
+    error_propagate(errp, local_err);
 }
 
 static void property_release_bootindex(Object *obj, const char *name,