aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2025-01-17 15:42:01 -0800
committerSean Christopherson <seanjc@google.com>2025-02-12 08:34:56 -0800
commite327630e2a0c2540dc97913bacb60b5b88151994 (patch)
tree1b545cadf402d20926467a9e07632b0b4ee656a5 /scripts/lib/kdoc/kdoc_files.py
parentKVM: selftests: Only validate counts for hardware-supported arch events (diff)
downloadlinux-rng-e327630e2a0c2540dc97913bacb60b5b88151994.tar.xz
linux-rng-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/20250117234204.2600624-4-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions