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>
This commit is contained in:
parent
ff433bbb82
commit
1063477834
|
@ -1134,7 +1134,6 @@ post_realize_fail:
|
||||||
|
|
||||||
fail:
|
fail:
|
||||||
error_propagate(errp, local_err);
|
error_propagate(errp, local_err);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool device_get_hotpluggable(Object *obj, Error **errp)
|
static bool device_get_hotpluggable(Object *obj, Error **errp)
|
||||||
|
|
Loading…
Reference in a new issue