KVM: x86: Clean up: remove redundant bool conversions
authorMichal Luczaj <mhal@rbox.co>
Mon, 5 Jun 2023 20:01:21 +0000 (22:01 +0200)
committerSean Christopherson <seanjc@google.com>
Wed, 7 Jun 2023 00:13:55 +0000 (17:13 -0700)
commite12fa4b92a07f4274ffa02e581d059a7869dd50e
tree9efbb1e24ba728e393a91ad76b52f655334248ca
parent056b9919a16aedc560e6756a235ef5a62a68db05
KVM: x86: Clean up: remove redundant bool conversions

As test_bit() returns bool, explicitly converting result to bool is
unnecessary. Get rid of '!!'.

No functional change intended.

Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Michal Luczaj <mhal@rbox.co>
Link: https://lore.kernel.org/r/20230605200158.118109-1-mhal@rbox.co
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/svm/svm.c
arch/x86/kvm/x86.c