virtio-mmio: Drop useless bus->allow_hotplug = 0
commit2f4f60351782c22744ae7c7de6afcefbe66f28a4
authorIgor Mammedov <imammedo@redhat.com>
Fri, 26 Sep 2014 09:28:27 +0000 (26 09:28 +0000)
committerAndreas Färber <afaerber@suse.de>
Wed, 15 Oct 2014 03:03:13 +0000 (15 05:03 +0200)
tree09f09faa19d6f8eb62066f575f2a2c9802ae3bce
parent0ddef15b0432fbcb65429e17b32231e18aa103c9
virtio-mmio: Drop useless bus->allow_hotplug = 0

Bus by default is not hotpluggable.
virtio-mmio-bus and its parent types do not set allow_hotplug
anywhere explicitly, so remove not needed field access
and wrapper along with it.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/virtio/virtio-mmio.c