mirror of https://github.com/xemu-project/xemu.git
![]() The max7310_gpio_set() handler is static and only used by qdev_init_gpio_in, initialized with 8 IRQs. The 'line' argument can not be out of the [0-8[ range. Replace the dead code by an assertion. Suggested-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20200910072325.439344-2-f4bug@amsat.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu> |
||
---|---|---|
.. | ||
Kconfig | ||
aspeed_gpio.c | ||
bcm2835_gpio.c | ||
gpio_key.c | ||
imx_gpio.c | ||
max7310.c | ||
meson.build | ||
mpc8xxx.c | ||
nrf51_gpio.c | ||
omap_gpio.c | ||
pl061.c | ||
puv3_gpio.c | ||
sifive_gpio.c | ||
trace-events | ||
trace.h | ||
zaurus.c |