diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2025-01-28 10:45:19 +0000 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-01-31 19:36:44 +0100 |
commit | aa0cbf85f3f0b949f61e7aead9902fb6eaee29a8 (patch) | |
tree | b4c0170b532f71ff2d909f145d8ac85c210c71ea /hw/ipack/ipack.c | |
parent | bda21477f523622a2c904a3fa80fd6b485b22bff (diff) | |
download | qemu-aa0cbf85f3f0b949f61e7aead9902fb6eaee29a8.zip qemu-aa0cbf85f3f0b949f61e7aead9902fb6eaee29a8.tar.gz qemu-aa0cbf85f3f0b949f61e7aead9902fb6eaee29a8.tar.bz2 |
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/ipack/ipack.c')
0 files changed, 0 insertions, 0 deletions