]> git.proxmox.com Git - mirror_qemu.git/commit
hw/char/exynos4210_uart.c: Remove unneeded handling of NULL chardev
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 20 Apr 2018 14:52:45 +0000 (15:52 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 26 Apr 2018 12:57:00 +0000 (13:57 +0100)
commit97274d0c05d45ec8dbddfaac74d8b292ae8154a2
treebccdf8ccde10c3c31170bad223902f98fd8d6a80
parentfc38a1120c2fabb76546ef8980e6d18b5fb7e843
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
hw/char/exynos4210_uart.c