hw/isa/superio: Fix inconsistent use of Chardev->be
commitd4c8fcd91abba584f2788dfe5fba5245cea380f0
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 15 May 2018 15:24:59 +0000 (15 12:24 -0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 1 Jun 2018 13:13:46 +0000 (1 15:13 +0200)
tree493f82d97b6f3094c9cd89c097c2179ee832354c
parent12d3a03830818f8fb347fbf724f3627dd064a29f
hw/isa/superio: Fix inconsistent use of Chardev->be

4c3119a6e3e and cd9526ab7c0 introduced an incorrect and inconsistent
use of Chardev->be. Also, this CharBackend member is private and is
not supposed to be accessible.

Fix it by removing the inconsistent check.

Cc: qemu-stable@nongnu.org
Reported-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20180515152500.19460-2-f4bug@amsat.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
hw/isa/isa-superio.c