[PATCH] KVM: selftests: aarch64: Remove unused functions from vpmu test

Zenghui Yu yuzenghui at huawei.com
Wed Nov 22 18:51:07 PST 2023


On 2023/11/23 6:15, Raghavendra Rao Ananta wrote:
> 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 at google.com>

Reviewed-by: Zenghui Yu <yuzenghui at huawei.com>



More information about the linux-arm-kernel mailing list