diff options
author | Marc Zyngier <maz@kernel.org> | 2020-11-12 18:50:06 +0000 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-11-27 11:41:03 +0000 |
commit | a3da93580202ac9075d4e96f73c8435b9d7262c1 (patch) | |
tree | ebb89f72b87dace2eef2f5c5893dbd051f82b3bb /include/kvm | |
parent | f975ccb08d6530e58bac660c7a938f98bae5a651 (diff) |
KVM: arm64: Remove dead PMU sysreg decoding code
The handling of traps in access_pmu_evcntr() has a couple of
omminous "else return false;" statements that don't make any sense:
the decoding tree coverse all the registers that trap to this handler,
and returning false implies that we change PC, which we don't.
Get rid of what is evidently dead code.
Reviewed-by: Alexandru Elisei <alexandru.elisei@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'include/kvm')
0 files changed, 0 insertions, 0 deletions