diff options
author | Sean Christopherson <seanjc@google.com> | 2025-01-17 15:42:01 -0800 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2025-02-12 08:34:56 -0800 |
commit | e327630e2a0c2540dc97913bacb60b5b88151994 (patch) | |
tree | 1b545cadf402d20926467a9e07632b0b4ee656a5 /scripts/lib/kdoc/kdoc_output.py | |
parent | 8752e2b4a2b770932c3f99dcf626cb326b02d518 (diff) |
KVM: selftests: Remove dead code in Intel PMU counters test
Drop the local "nr_arch_events" in the Intel PMU counters test as the test
asserts that "nr_arch_events <= NR_INTEL_ARCH_EVENTS", and then sets
nr_arch_events to the max of the two. I.e. nr_arch_events is guaranteed
to be NR_INTEL_ARCH_EVENTS for the meat of the test, just use
NR_INTEL_ARCH_EVENTS directly.
No functional change intended.
Link: https://lore.kernel.org/r/20250117234204.2600624-4-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions