hw/arm/allwinner-a10: Remove local qemu_irq variables
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Fri, 17 Jan 2020 14:09:30 +0000 (14:09 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 17 Jan 2020 14:09:30 +0000 (14:09 +0000)
commitaf4ba4ed13b2bbfd2d33527741810a5905a11310
tree28873c122fcde2ea8eecb63dc60ca742b00606b3
parentf8a865d36dc1578eb8a4f7c896c4f46f4b82ca45
hw/arm/allwinner-a10: Remove local qemu_irq variables

We won't reuse the CPU IRQ/FIQ variables. Simplify by calling
qdev_get_gpio_in() in place.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20191230110953.25496-6-f4bug@amsat.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/allwinner-a10.c