KVM: selftests: aarch64: Remove unused functions from vpmu test
authorRaghavendra Rao Ananta <rananta@google.com>
Wed, 22 Nov 2023 22:15:26 +0000 (22:15 +0000)
committerOliver Upton <oliver.upton@linux.dev>
Thu, 29 Feb 2024 06:36:15 +0000 (06:36 +0000)
commit43b3bedb7cc4348f2885a30e960b63b94d1be381
tree12b38abf534153d0ddc397404eb5e18cfe099f45
parent75841d89f3ed51ba1ee5fd341488fe1f55f4eb06
KVM: selftests: aarch64: Remove unused functions from vpmu test

vpmu_counter_access's disable_counter() carries a bug that disables
all the counters that are enabled, instead of just the requested one.
Fortunately, it's not an issue as there are no callers of it. Hence,
instead of fixing it, remove the definition entirely.

Remove enable_counter() as it's unused as well.

Signed-off-by: Raghavendra Rao Ananta <rananta@google.com>
Reviewed-by: Zenghui Yu <yuzenghui@huawei.com>
Link: https://lore.kernel.org/r/20231122221526.2750966-1-rananta@google.com
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
tools/testing/selftests/kvm/aarch64/vpmu_counter_access.c