hw/arm/exynos4210: Drop int_gic_irq[] from Exynos4210Irq struct
commitc9d4940a9be2065d9d124f9963cbacea881b892c
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 4 Apr 2022 15:46:44 +0000 (4 16:46 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 21 Apr 2022 10:37:03 +0000 (21 11:37 +0100)
treedb3207157db977531b54152566a30acf32c760dc
parent5b2417288e9bdd437685725cd432692ed8f104e4
hw/arm/exynos4210: Drop int_gic_irq[] from Exynos4210Irq struct

The only time we use the int_gic_irq[] array in the Exynos4210Irq
struct is in the exynos4210_realize() function: we initialize it with
the GPIO inputs of the a9mpcore device, and then a bit later on we
connect those to the outputs of the internal combiner.  Now that the
a9mpcore object is easily accessible as s->a9mpcore we can make the
connection 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-5-peter.maydell@linaro.org
hw/arm/exynos4210.c
include/hw/arm/exynos4210.h