ui/console: remove chardev frontend connected test
commit014b00cc0a6b975fd67d7a1d5d49588c4d325a40
authorVolker Rümelin <vr_qemu@t-online.de>
Thu, 16 Sep 2021 19:22:38 +0000 (16 21:22 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 2 Nov 2021 16:24:18 +0000 (2 17:24 +0100)
tree7e72dfb78955ef9de0606db80c461e4103f9d1be
parentec222519046bb6296bd1acc5a467c791d803d56c
ui/console: remove chardev frontend connected test

The test if the chardev frontend is connected in
kbd_put_keysym_console() is redundant, because the call
to qemu_chr_be_can_write() in kbd_send_chars() tests
the connected condition again.

Remove the redundant test whether the chardev frontend
is connected.

Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Message-Id: <20210916192239.18742-3-vr_qemu@t-online.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/console.c