mirror of
https://github.com/mii443/qemu.git
synced 2025-12-12 05:18:37 +00:00
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>
This commit is contained in:
@@ -537,7 +537,7 @@ char *qdev_get_dev_path(DeviceState *dev);
|
||||
|
||||
void qbus_set_hotplug_handler(BusState *bus, Object *handler, Error **errp);
|
||||
|
||||
void qbus_set_bus_hotplug_handler(BusState *bus, Error **errp);
|
||||
void qbus_set_bus_hotplug_handler(BusState *bus);
|
||||
|
||||
static inline bool qbus_is_hotpluggable(BusState *bus)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user