diff options
author | Markus Armbruster <armbru@redhat.com> | 2020-06-30 11:03:38 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2020-07-02 06:25:29 +0200 |
commit | cd7c866074ed413bb0ccb708f7660436beb4ce37 (patch) | |
tree | 067f4ca3598a45900bcafdf4c4723785160e3e37 /hw/usb | |
parent | 123327d14e8ccca3e94986a9ea48fc61e8c2357d (diff) | |
download | qemu-cd7c866074ed413bb0ccb708f7660436beb4ce37.zip qemu-cd7c866074ed413bb0ccb708f7660436beb4ce37.tar.gz qemu-cd7c866074ed413bb0ccb708f7660436beb4ce37.tar.bz2 |
qdev: Drop qbus_set_bus_hotplug_handler() parameter @errp
All callers pass &error_abort. Drop the parameter.
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: "Daniel P. Berrangé" <berrange@redhat.com>
Cc: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20200630090351.1247703-14-armbru@redhat.com>
Diffstat (limited to 'hw/usb')
-rw-r--r-- | hw/usb/bus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb/bus.c b/hw/usb/bus.c index a81aee2..957559b 100644 --- a/hw/usb/bus.c +++ b/hw/usb/bus.c @@ -84,7 +84,7 @@ void usb_bus_new(USBBus *bus, size_t bus_size, USBBusOps *ops, DeviceState *host) { qbus_create_inplace(bus, bus_size, TYPE_USB_BUS, host, NULL); - qbus_set_bus_hotplug_handler(BUS(bus), &error_abort); + qbus_set_bus_hotplug_handler(BUS(bus)); bus->ops = ops; bus->busnr = next_usb_bus++; QTAILQ_INIT(&bus->free); |