From: Thomas Huth <th...@redhat.com> 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 <th...@redhat.com> Signed-off-by: Michael Tokarev <m...@tls.msk.ru> --- hw/core/qdev.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/core/qdev.c b/hw/core/qdev.c index b3ad467..4e3173d 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) -- 2.1.4