diff options
| author | Sean Christopherson <[email protected]> | 2025-01-17 23:42:01 +0000 |
|---|---|---|
| committer | Sean Christopherson <[email protected]> | 2025-02-12 16:34:56 +0000 |
| commit | e327630e2a0c2540dc97913bacb60b5b88151994 (patch) | |
| tree | 1b545cadf402d20926467a9e07632b0b4ee656a5 /tools/testing/selftests/net/lib/py/utils.py | |
| parent | KVM: selftests: Only validate counts for hardware-supported arch events (diff) | |
| download | kernel-e327630e2a0c2540dc97913bacb60b5b88151994.tar.gz kernel-e327630e2a0c2540dc97913bacb60b5b88151994.zip | |
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/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions
