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>
stable-2.6
Thomas Huth 2015-11-10 21:16:11 +01:00 committed by Michael Tokarev
parent ff433bbb82
commit 1063477834
1 changed files with 0 additions and 1 deletions

View File

@ -1134,7 +1134,6 @@ post_realize_fail:
fail:
error_propagate(errp, local_err);
return;
}
static bool device_get_hotpluggable(Object *obj, Error **errp)