From: Igor Mammedov <imamm...@redhat.com> 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 <imamm...@redhat.com> Reviewed-by: Paolo Bonzini <pbonz...@redhat.com> Signed-off-by: Andreas Färber <afaer...@suse.de> --- 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 @@ /* icc-bridge implementation */ -static void icc_bus_init(Object *obj) -{ - BusState *b = BUS(obj); - - b->allow_hotplug = true; -} - static const TypeInfo icc_bus_info = { .name = TYPE_ICC_BUS, .parent = TYPE_BUS, .instance_size = sizeof(ICCBus), - .instance_init = icc_bus_init, }; -- 1.8.4.5