hw/arm/exynos4210: Drop ext_gic_irq[] from Exynos4210Irq struct
commit38c2b905d3beb27a056f7f53bcf7d9bce487e89d
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 4 Apr 2022 15:46:49 +0000 (4 16:46 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 21 Apr 2022 10:37:04 +0000 (21 11:37 +0100)
tree766166b384f16a007aa9536f8b23d67b341e0179
parent78cb12a92c5466b792224e1f4c3e061d233d383b
hw/arm/exynos4210: Drop ext_gic_irq[] from Exynos4210Irq struct

The only time we use the ext_gic_irq[] array in the Exynos4210Irq
struct is during realize of the SoC -- we initialize it with the
input IRQs of the external GIC device, and then connect those to
outputs of other devices further on in realize (including in the
exynos4210_init_board_irqs() function).  Now that the ext_gic object
is easily accessible as s->ext_gic we can make the connections
directly from one device to the other without going via this array.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220404154658.565020-10-peter.maydell@linaro.org
hw/arm/exynos4210.c
include/hw/arm/exynos4210.h