Home
last modified time | relevance | path

Searched hist:"694226410 bc1fd59cb379d0b90158679ea42ab03" (Results 1 – 1 of 1) sorted by relevance

/qemu/
H A Diothread.c694226410bc1fd59cb379d0b90158679ea42ab03 Thu Feb 08 10:16:57 UTC 2024 Kevin Wolf <kwolf@redhat.com> 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>