pckbd: add function kbd_pending()
commite4697fabb58133c3cfa5d3afe727db80beda5af7
authorVolker Rümelin <vr_qemu@t-online.de>
Tue, 25 May 2021 18:14:38 +0000 (25 20:14 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 26 May 2021 09:31:51 +0000 (26 11:31 +0200)
tree0ca40e469240b750a5e38d6cbf698f00a816c4d8
parentaa67a42f8d28cb7db743a070afa8f143235a4e7f
pckbd: add function kbd_pending()

Replace reads of the variable s->pending with a call to a new
function kbd_pending() to ease the review of the next patch.
There is no functional change.

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Message-Id: <20210525181441.27768-9-vr_qemu@t-online.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/input/pckbd.c