]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
hw/char/pl011: Remove unused 'readbuff' field
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 10 Nov 2023 06:21:20 +0000 (07:21 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 13 Sep 2024 18:11:13 +0000 (20:11 +0200)
Since its introduction in commit cdbdb648b7 ("ARM Versatile
Platform Baseboard emulation.") PL011State::readbuff as never
been used. Remove it.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20240719181041.49545-3-philmd@linaro.org>

hw/char/pl011.c
include/hw/char/pl011.h

index 615fe3a5678ed805e337a0921edac57e94ee9136..a7f75efbef8297aaa4a2425d036dba796cb194d1 100644 (file)
@@ -549,7 +549,7 @@ static const VMStateDescription vmstate_pl011 = {
     .minimum_version_id = 2,
     .post_load = pl011_post_load,
     .fields = (const VMStateField[]) {
-        VMSTATE_UINT32(readbuff, PL011State),
+        VMSTATE_UNUSED(sizeof(uint32_t)),
         VMSTATE_UINT32(flags, PL011State),
         VMSTATE_UINT32(lcr, PL011State),
         VMSTATE_UINT32(rsr, PL011State),
index d853802132384f28a27be63d5269d2bf83872af0..4fcaf3d7d302f1689af1847f8926b4922ed82a73 100644 (file)
@@ -32,7 +32,6 @@ struct PL011State {
     SysBusDevice parent_obj;
 
     MemoryRegion iomem;
-    uint32_t readbuff;
     uint32_t flags;
     uint32_t lcr;
     uint32_t rsr;