summary refs log tree commit diff stats
path: root/hw/openrisc/boot.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2025-01-28 10:45:19 +0000
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-01-31 19:36:44 +0100
commitaa0cbf85f3f0b949f61e7aead9902fb6eaee29a8 (patch)
treeb4c0170b532f71ff2d909f145d8ac85c210c71ea /hw/openrisc/boot.c
parentbda21477f523622a2c904a3fa80fd6b485b22bff (diff)
downloadfocaccia-qemu-aa0cbf85f3f0b949f61e7aead9902fb6eaee29a8.tar.gz
focaccia-qemu-aa0cbf85f3f0b949f61e7aead9902fb6eaee29a8.zip
hw/sd: Remove unused SDState::enable
Now that sd_enable() has been removed, SD::enable is set to true in
sd_instance_init() and then never changed. So we can remove it.

Note that the VMSTATE_UNUSED() size argument should be '1', not
'sizeof(bool)', as noted in the CAUTION comment in vmstate.h.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20250128104519.3981448-12-peter.maydell@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'hw/openrisc/boot.c')
0 files changed, 0 insertions, 0 deletions