diff options
| author | Michal Luczaj <mhal@rbox.co> | 2023-06-05 22:01:21 +0200 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2023-06-06 17:13:55 -0700 |
| commit | e12fa4b92a07f4274ffa02e581d059a7869dd50e (patch) | |
| tree | 9efbb1e24ba728e393a91ad76b52f655334248ca /tools/perf/scripts/python | |
| parent | KVM: x86: Use cpu_feature_enabled() for PKU instead of #ifdef (diff) | |
| download | linux-e12fa4b92a07f4274ffa02e581d059a7869dd50e.tar.gz linux-e12fa4b92a07f4274ffa02e581d059a7869dd50e.zip | |
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
