From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37285) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XeEy2-00060c-8Q for qemu-devel@nongnu.org; Tue, 14 Oct 2014 23:09:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XeExu-0004nh-QC for qemu-devel@nongnu.org; Tue, 14 Oct 2014 23:09:38 -0400 Received: from cantor2.suse.de ([195.135.220.15]:49329 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XeExu-0004lp-Jx for qemu-devel@nongnu.org; Tue, 14 Oct 2014 23:09:30 -0400 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Wed, 15 Oct 2014 05:08:58 +0200 Message-Id: <1413342561-4754-25-git-send-email-afaerber@suse.de> In-Reply-To: <1413342561-4754-1-git-send-email-afaerber@suse.de> References: <1413342561-4754-1-git-send-email-afaerber@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PULL 24/47] target-i386: ICC bus: Drop BusState::allow_hotplug List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Igor Mammedov , =?UTF-8?q?Andreas=20F=C3=A4rber?= From: Igor Mammedov Since bus_add_child() no longer cares if BUS is hotpluggable or not, there is no need in setting allow_hotplug field. Signed-off-by: Igor Mammedov Reviewed-by: Paolo Bonzini Signed-off-by: Andreas F=C3=A4rber --- hw/cpu/icc_bus.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/hw/cpu/icc_bus.c b/hw/cpu/icc_bus.c index 7f44c59..9575fd6 100644 --- a/hw/cpu/icc_bus.c +++ b/hw/cpu/icc_bus.c @@ -24,18 +24,10 @@ =20 /* icc-bridge implementation */ =20 -static void icc_bus_init(Object *obj) -{ - BusState *b =3D BUS(obj); - - b->allow_hotplug =3D true; -} - static const TypeInfo icc_bus_info =3D { .name =3D TYPE_ICC_BUS, .parent =3D TYPE_BUS, .instance_size =3D sizeof(ICCBus), - .instance_init =3D icc_bus_init, }; =20 =20 --=20 1.8.4.5