aboutsummaryrefslogtreecommitdiff
path: root/hw/cpu
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2014-09-26 09:28:24 +0000
committerAndreas Färber <afaerber@suse.de>2014-10-15 05:03:13 +0200
commitc32e36f6ab847e0726542a822606a3525f959ff4 (patch)
treed3f47b12156b02c6a14a993ef4d0010b6b37e96e /hw/cpu
parente378acb4047fbec4f89031dbba7fb7851042f6ee (diff)
downloadqemu-c32e36f6ab847e0726542a822606a3525f959ff4.zip
qemu-c32e36f6ab847e0726542a822606a3525f959ff4.tar.gz
qemu-c32e36f6ab847e0726542a822606a3525f959ff4.tar.bz2
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.c8
1 files changed, 0 insertions, 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,
};