From 1063477834b5fa86401da00262a92d1f386e49b9 Mon Sep 17 00:00:00 2001 From: Thomas Huth Date: Tue, 10 Nov 2015 21:16:11 +0100 Subject: [PATCH] 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 Signed-off-by: Michael Tokarev --- hw/core/qdev.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/core/qdev.c b/hw/core/qdev.c index b3ad467754..4e3173d81a 100644 --- 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)