Commit 10634778 authored by Thomas Huth's avatar Thomas Huth Committed by Michael Tokarev
Browse files

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: default avatarThomas Huth <thuth@redhat.com>
Signed-off-by: default avatarMichael Tokarev <mjt@tls.msk.ru>
parent ff433bbb
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1134,7 +1134,6 @@ post_realize_fail:

fail:
    error_propagate(errp, local_err);
    return;
}

static bool device_get_hotpluggable(Object *obj, Error **errp)