diff options
author | Philippe Mathieu-Daudé | 2020-09-10 09:23:24 +0200 |
---|---|---|
committer | Laurent Vivier | 2020-09-16 10:43:48 +0200 |
commit | 03a3c6f16f59da2b159a9f8c370eb568877ac378 (patch) | |
tree | 423a472837c7c8b43a1569353149d95df874b7b3 /ui/vnc.c | |
parent | Merge remote-tracking branch 'remotes/kraxel/tags/vga-20200915-pull-request' ... (diff) | |
download | qemu-03a3c6f16f59da2b159a9f8c370eb568877ac378.tar.gz qemu-03a3c6f16f59da2b159a9f8c370eb568877ac378.tar.xz qemu-03a3c6f16f59da2b159a9f8c370eb568877ac378.zip |
hw/gpio/max7310: Remove impossible check
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>
Diffstat (limited to 'ui/vnc.c')
0 files changed, 0 insertions, 0 deletions