aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2015-11-10 21:16:11 +0100
committerMichael Tokarev <mjt@tls.msk.ru>2016-01-11 11:39:28 +0300
commit1063477834b5fa86401da00262a92d1f386e49b9 (patch)
tree8cb5289a183c35a1a08e45d420c8306ca3c5f97f
parentff433bbb82d2c1b4c0146ccb0ce78f58fb382fda (diff)
hw/core/qdev: Remove superfluous return statement
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>
-rw-r--r--hw/core/qdev.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/core/qdev.c b/hw/core/qdev.c
index b3ad467754..4e3173d81a 100644
--- a/hw/core/qdev.c
+++ b/hw/core/qdev.c
@@ -1134,7 +1134,6 @@ post_realize_fail:
fail:
error_propagate(errp, local_err);
- return;
}
static bool device_get_hotpluggable(Object *obj, Error **errp)