mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
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>
This commit is contained in:
parent
e5e887c73b
commit
c3141e21e3
3 changed files with 0 additions and 20 deletions
|
@ -868,16 +868,6 @@ void device_class_set_parent_unrealize(DeviceClass *dc,
|
|||
dc->unrealize = dev_unrealize;
|
||||
}
|
||||
|
||||
void device_legacy_reset(DeviceState *dev)
|
||||
{
|
||||
DeviceClass *klass = DEVICE_GET_CLASS(dev);
|
||||
|
||||
trace_qdev_reset(dev, object_get_typename(OBJECT(dev)));
|
||||
if (klass->reset) {
|
||||
klass->reset(dev);
|
||||
}
|
||||
}
|
||||
|
||||
Object *qdev_get_machine(void)
|
||||
{
|
||||
static Object *dev;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue