iothread: Simplify expression in qemu_in_iothread()
commit694226410bc1fd59cb379d0b90158679ea42ab03
authorKevin Wolf <kwolf@redhat.com>
Thu, 8 Feb 2024 10:16:57 +0000 (8 11:16 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Tue, 13 Feb 2024 07:59:25 +0000 (13 10:59 +0300)
tree37d7945e4be3c49e64a9d8c017177498a019d149
parentd81b797ca26e4cfbee5c7578c64f381c79caa5d1
iothread: Simplify expression in qemu_in_iothread()

'a == b ? false : true' is a rather convoluted way of writing 'a != b'.
Use the more obvious way to write it.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
iothread.c