]> git.proxmox.com Git - mirror_qemu.git/commitdiff
hw/core/qdev: Remove superfluous return statement
authorThomas Huth <thuth@redhat.com>
Tue, 10 Nov 2015 20:16:11 +0000 (21:16 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Mon, 11 Jan 2016 08:39:28 +0000 (11:39 +0300)
The "return;" statement at the end of device_set_realized()
does not make much sense, so let's remove it.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/core/qdev.c

index b3ad46775409443e46c994b06e6ec15098d51d5d..4e3173d81a0c6abcdac4133163c7220f5ec6e6fd 100644 (file)
@@ -1134,7 +1134,6 @@ post_realize_fail:
 
 fail:
     error_propagate(errp, local_err);
-    return;
 }
 
 static bool device_get_hotpluggable(Object *obj, Error **errp)