mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
hw/misc/applesmc: Do not call DeviceReset from DeviceRealize
QDev core layer always call DeviceReset() after DeviceRealize(), no need to do it manually. Remove the extra call. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <20240408095217.57239-2-philmd@linaro.org>
This commit is contained in:
parent
d39fdfff34
commit
5c338216f5
1 changed files with 0 additions and 1 deletions
|
@ -342,7 +342,6 @@ static void applesmc_isa_realize(DeviceState *dev, Error **errp)
|
|||
}
|
||||
|
||||
QLIST_INIT(&s->data_def);
|
||||
qdev_applesmc_isa_reset(dev);
|
||||
}
|
||||
|
||||
static Property applesmc_isa_properties[] = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue