diff mbox

[4/4] hw/core/qdev: Remove superfluous return statement

Message ID 1447186571-27672-5-git-send-email-thuth@redhat.com
State New
Headers show

Commit Message

Thomas Huth Nov. 10, 2015, 8:16 p.m. UTC
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>
---
 hw/core/qdev.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox

Patch

diff --git a/hw/core/qdev.c b/hw/core/qdev.c
index 4ab04aa..d712a0b 100644
--- a/hw/core/qdev.c
+++ b/hw/core/qdev.c
@@ -1129,7 +1129,6 @@  post_realize_fail:
 
 fail:
     error_propagate(errp, local_err);
-    return;
 }
 
 static bool device_get_hotpluggable(Object *obj, Error **errp)