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
|
@ -342,7 +342,6 @@ static void applesmc_isa_realize(DeviceState *dev, Error **errp)
|
||||||
}
|
}
|
||||||
|
|
||||||
QLIST_INIT(&s->data_def);
|
QLIST_INIT(&s->data_def);
|
||||||
qdev_applesmc_isa_reset(dev);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static Property applesmc_isa_properties[] = {
|
static Property applesmc_isa_properties[] = {
|
||||||
|
|
Loading…
Reference in New Issue