summary refs log tree commit diff stats
path: root/hw/intc/apic_common.c
diff options
context:
space:
mode:
authorBernhard Beschow <shentey@gmail.com>2024-01-06 14:25:44 +0100
committerMichael S. Tsirkin <mst@redhat.com>2024-02-14 06:09:32 -0500
commitf22f3a92eb728497dcd0f43e31b9148992db99bd (patch)
treebc208c83c2a8ac86c29b5b023f69312600b34745 /hw/intc/apic_common.c
parent7618fffdf16e03377390e51c033f0b14d772333a (diff)
downloadfocaccia-qemu-f22f3a92eb728497dcd0f43e31b9148992db99bd.tar.gz
focaccia-qemu-f22f3a92eb728497dcd0f43e31b9148992db99bd.zip
hw/i386/x86: Reverse if statement
The if statement currently uses double negation when executing the else branch.
So swap the branches and simplify the condition to make the code more
comprehensible.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Message-Id: <20240106132546.21248-2-shentey@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/intc/apic_common.c')
0 files changed, 0 insertions, 0 deletions