projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff433bb
)
hw/core/qdev: Remove superfluous return statement
author
Thomas Huth
<thuth@redhat.com>
Tue, 10 Nov 2015 20:16:11 +0000
(21:16 +0100)
committer
Michael Tokarev
<mjt@tls.msk.ru>
Mon, 11 Jan 2016 08:39:28 +0000
(11:39 +0300)
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>
hw/core/qdev.c
patch
|
blob
|
history
diff --git
a/hw/core/qdev.c
b/hw/core/qdev.c
index b3ad46775409443e46c994b06e6ec15098d51d5d..4e3173d81a0c6abcdac4133163c7220f5ec6e6fd 100644
(file)
--- a/
hw/core/qdev.c
+++ b/
hw/core/qdev.c
@@
-1134,7
+1134,6
@@
post_realize_fail:
fail:
error_propagate(errp, local_err);
- return;
}
static bool device_get_hotpluggable(Object *obj, Error **errp)