diff options
author | Peter Maydell | 2018-04-20 16:52:45 +0200 |
---|---|---|
committer | Peter Maydell | 2018-04-26 14:57:00 +0200 |
commit | 97274d0c05d45ec8dbddfaac74d8b292ae8154a2 (patch) | |
tree | bccdf8ccde10c3c31170bad223902f98fd8d6a80 /hw/ppc | |
parent | Remove checks on MAX_SERIAL_PORTS that are just bounds checks (diff) | |
download | qemu-97274d0c05d45ec8dbddfaac74d8b292ae8154a2.tar.gz qemu-97274d0c05d45ec8dbddfaac74d8b292ae8154a2.tar.xz qemu-97274d0c05d45ec8dbddfaac74d8b292ae8154a2.zip |
hw/char/exynos4210_uart.c: Remove unneeded handling of NULL chardev
The handling of NULL chardevs in exynos4210_uart_create() is now
all unnecessary: we don't need to create 'null' chardevs, and we
don't need to enforce a bounds check on serial_hd().
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-id: 20180420145249.32435-10-peter.maydell@linaro.org
Diffstat (limited to 'hw/ppc')
0 files changed, 0 insertions, 0 deletions