s390x: Drop not used allow_hotplug in event-facility
commit492bcf8f711cfd1f1056b0a7cff768a6a5f387ee
authorIgor Mammedov <imammedo@redhat.com>
Fri, 26 Sep 2014 09:28:28 +0000 (26 09:28 +0000)
committerAndreas Färber <afaerber@suse.de>
Wed, 15 Oct 2014 03:03:13 +0000 (15 05:03 +0200)
tree9dbc9ebcfe43c12b3dab91e1fa400dadc8d12c2a
parent2f4f60351782c22744ae7c7de6afcefbe66f28a4
s390x: Drop not used allow_hotplug in event-facility

s390-sclp-event-facility creates s390-sclp-events-bus
and immediately sets its allow_hotplug field to 0,
which is NOP since it's already 0 by default.

Also since BUS is not hotpluggable, it's not possible
to call SCLP_EVENT{ DeviceClass::unplug } callback
from qdev_unplug() making this unreachable code,
so drop it as well.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/s390x/event-facility.c