diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2022-12-16 15:55:28 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2022-12-16 15:55:32 +0000 |
commit | c3141e21e3904408a527e9bbd08b8622f4ef8072 (patch) | |
tree | 388373599d70088708674b2055c39ec1ea68e4d4 /include/hw | |
parent | e5e887c73b2201d80aff6780a8908ec0e86d7407 (diff) |
hw: Remove device_legacy_reset()
The device_legacy_reset() function is now not used anywhere, so we
can remove the implementation.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw')
-rw-r--r-- | include/hw/qdev-core.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/hw/qdev-core.h b/include/hw/qdev-core.h index c7eda169d7..35fddb19a6 100644 --- a/include/hw/qdev-core.h +++ b/include/hw/qdev-core.h @@ -776,15 +776,6 @@ BusState *sysbus_get_default(void); char *qdev_get_fw_dev_path(DeviceState *dev); char *qdev_get_own_fw_dev_path_from_handler(BusState *bus, DeviceState *dev); -/** - * device_legacy_reset: - * - * Reset a single device (by calling the reset method). - * Note: This function is deprecated and will be removed when it becomes unused. - * Please use device_cold_reset() now. - */ -void device_legacy_reset(DeviceState *dev); - void device_class_set_props(DeviceClass *dc, Property *props); /** |