aboutsummaryrefslogtreecommitdiff
path: root/hw/core
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2020-06-30 11:03:38 +0200
committerMarkus Armbruster <armbru@redhat.com>2020-07-02 06:25:29 +0200
commitcd7c866074ed413bb0ccb708f7660436beb4ce37 (patch)
tree067f4ca3598a45900bcafdf4c4723785160e3e37 /hw/core
parent123327d14e8ccca3e94986a9ea48fc61e8c2357d (diff)
downloadqemu-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/core')
-rw-r--r--hw/core/bus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/core/bus.c b/hw/core/bus.c
index 6cc28b3..8d4e810 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,