Commit a8a77671b5 for qemu.org

commit a8a77671b5e7f919bc8c7478d51f7b6067b50feb
Author: Bernhard Beschow <shentey@gmail.com>
Date:   Thu Mar 5 23:09:07 2026 +0100

    hw/char/serial: Remove redundant reset

    There is no need to invoke the reset method in realize since the reset
    framework will do so anyway before the machine starts.

    Signed-off-by: Bernhard Beschow <shentey@gmail.com>
    Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
    Message-ID: <20260305220911.131508-11-shentey@gmail.com>
    Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>

diff --git a/hw/char/serial.c b/hw/char/serial.c
index 485b98f03f..0f3469a1e8 100644
--- a/hw/char/serial.c
+++ b/hw/char/serial.c
@@ -934,7 +934,6 @@ static void serial_realize(DeviceState *dev, Error **errp)
                              serial_event, serial_be_change, s, NULL, true);
     fifo8_create(&s->recv_fifo, UART_FIFO_LENGTH);
     fifo8_create(&s->xmit_fifo, UART_FIFO_LENGTH);
-    serial_reset(s);
 }

 static void serial_unrealize(DeviceState *dev)