diff options
author | Igor Mammedov | 2014-09-26 11:28:24 +0200 |
---|---|---|
committer | Andreas Färber | 2014-10-15 05:03:13 +0200 |
commit | c32e36f6ab847e0726542a822606a3525f959ff4 (patch) | |
tree | d3f47b12156b02c6a14a993ef4d0010b6b37e96e /hw/cpu | |
parent | qdev: Drop hotplug check from bus_add_child() (diff) | |
download | qemu-c32e36f6ab847e0726542a822606a3525f959ff4.tar.gz qemu-c32e36f6ab847e0726542a822606a3525f959ff4.tar.xz qemu-c32e36f6ab847e0726542a822606a3525f959ff4.zip |
target-i386: ICC bus: Drop BusState::allow_hotplug
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 <imammedo@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/cpu')
-rw-r--r-- | hw/cpu/icc_bus.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/hw/cpu/icc_bus.c b/hw/cpu/icc_bus.c index 7f44c59b25..9575fd6a42 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, }; |