mirror of https://github.com/xemu-project/xemu.git
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:
|
||||
error_propagate(errp, local_err);
|
||||
return;
|
||||
}
|
||||
|
||||
static bool device_get_hotpluggable(Object *obj, Error **errp)
|
||||
|
|
Loading…
Reference in New Issue