hw/m68k/mcf5206: Embed m5206_timer_state in m5206_mbar_state
commit5e077a77670d36975cc0dc885d2e9d9f67ab14c1
authorThomas Huth <huth@tuxfamily.org>
Thu, 21 Dec 2023 12:29:39 +0000 (21 13:29 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 5 Jan 2024 15:20:15 +0000 (5 16:20 +0100)
tree4d16dbf33dbb4c5bf2d2a47bb582df23ba66eca3
parentcb50fc6842bf95b4e3bc1faa2a56bf7987ea6491
hw/m68k/mcf5206: Embed m5206_timer_state in m5206_mbar_state

There's no need to explicitely allocate the memory here, we can
simply embed it into the m5206_mbar_state instead.

Signed-off-by: Thomas Huth <huth@tuxfamily.org>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231221122939.11001-1-huth@tuxfamily.org>
hw/m68k/mcf5206.c