diff options
author | Markus Armbruster | 2020-06-30 11:03:38 +0200 |
---|---|---|
committer | Markus Armbruster | 2020-07-02 06:25:29 +0200 |
commit | cd7c866074ed413bb0ccb708f7660436beb4ce37 (patch) | |
tree | 067f4ca3598a45900bcafdf4c4723785160e3e37 /hw/core/bus.c | |
parent | aspeed: Clean up roundabout error propagation (diff) | |
download | qemu-cd7c866074ed413bb0ccb708f7660436beb4ce37.tar.gz qemu-cd7c866074ed413bb0ccb708f7660436beb4ce37.tar.xz qemu-cd7c866074ed413bb0ccb708f7660436beb4ce37.zip |
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/core/bus.c')
-rw-r--r-- | hw/core/bus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/core/bus.c b/hw/core/bus.c index 6cc28b334e..8d4e810d7f 100644 --- a/hw/core/bus.c +++ b/hw/core/bus.c @@ -29,9 +29,9 @@ void qbus_set_hotplug_handler(BusState *bus, Object *handler, Error **errp) QDEV_HOTPLUG_HANDLER_PROPERTY, errp); } -void qbus_set_bus_hotplug_handler(BusState *bus, Error **errp) +void qbus_set_bus_hotplug_handler(BusState *bus) { - qbus_set_hotplug_handler(bus, OBJECT(bus), errp); + qbus_set_hotplug_handler(bus, OBJECT(bus), &error_abort); } int qbus_walk_children(BusState *bus, |