diff options
author | Gustavo Romero <gustavo.romero@linaro.org> | 2025-07-01 15:08:29 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2025-07-01 15:08:29 +0100 |
commit | 43eb1805437e1c904fcb5d8ce93096301128a4d0 (patch) | |
tree | 8ab2bb77642502267024d455382dbf25b8f2d094 /hw/avr/arduino.c | |
parent | 374d766da75ab89749f59813f7ae55d913c37b58 (diff) | |
download | qemu-43eb1805437e1c904fcb5d8ce93096301128a4d0.zip qemu-43eb1805437e1c904fcb5d8ce93096301128a4d0.tar.gz qemu-43eb1805437e1c904fcb5d8ce93096301128a4d0.tar.bz2 |
hw/arm/virt: Simplify logic for setting instance's 'tcg_its' variable
Because 'tcg_its' in the machine instance is set based on the machine
class’s negated variable 'no_tcg_its', 'tcg_its' is the opposite of
'no_tcg_its' and hence the code in question can be simplified as:
tcg_its = !no_tcg_its.
Signed-off-by: Gustavo Romero <gustavo.romero@linaro.org>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Message-id: 20250628195722.977078-3-gustavo.romero@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/avr/arduino.c')
0 files changed, 0 insertions, 0 deletions