summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kvm/pmu-emul.c
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2020-11-13 16:42:08 +0000
committerMarc Zyngier <maz@kernel.org>2020-11-27 11:41:24 +0000
commit7521c3a9e63041602d531e36c07a340f188dc1fa (patch)
tree15e5d7a46552774522004b6656bf16c096de1286 /arch/arm64/kvm/pmu-emul.c
parent46acf89de499b2db07e120c62a796e8a0efbad8d (diff)
downloadlinux-7521c3a9e63041602d531e36c07a340f188dc1fa.tar.bz2
KVM: arm64: Get rid of the PMU ready state
The PMU ready state has no user left. Goodbye. Reviewed-by: Alexandru Elisei <alexandru.elisei@arm.com> Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'arch/arm64/kvm/pmu-emul.c')
-rw-r--r--arch/arm64/kvm/pmu-emul.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm64/kvm/pmu-emul.c b/arch/arm64/kvm/pmu-emul.c
index 5ad900c609ee..398f6df1bbe4 100644
--- a/arch/arm64/kvm/pmu-emul.c
+++ b/arch/arm64/kvm/pmu-emul.c
@@ -851,7 +851,6 @@ int kvm_arm_pmu_v3_enable(struct kvm_vcpu *vcpu)
}
kvm_pmu_vcpu_reset(vcpu);
- vcpu->arch.pmu.ready = true;
return 0;
}