提交 10634778 编写于 作者: T Thomas Huth 提交者: Michael Tokarev

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: NThomas Huth <thuth@redhat.com>
Signed-off-by: NMichael Tokarev <mjt@tls.msk.ru>
上级 ff433bbb
......@@ -1134,7 +1134,6 @@ post_realize_fail:
fail:
error_propagate(errp, local_err);
return;
}
static bool device_get_hotpluggable(Object *obj, Error **errp)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册