diff options
author | Greg Kurz <groug@kaod.org> | 2020-03-18 20:43:42 +0300 |
---|---|---|
committer | Paul Mackerras <paulus@ozlabs.org> | 2020-03-19 08:43:07 +0300 |
commit | 6fef0c6bbe4987fc94c14f52782b224ddaf3530b (patch) | |
tree | fc77b30d250a72fa0bea725ac676399647ea0319 /arch/powerpc/kvm/booke.c | |
parent | 3f1268dda8e47f808f4f50f24715b84d4b228bf3 (diff) | |
download | linux-6fef0c6bbe4987fc94c14f52782b224ddaf3530b.tar.xz |
KVM: PPC: Kill kvmppc_ops::mmu_destroy() and kvmppc_mmu_destroy()
These are only used by HV KVM and BookE, and in both cases they are
nops.
Signed-off-by: Greg Kurz <groug@kaod.org>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'arch/powerpc/kvm/booke.c')
-rw-r--r-- | arch/powerpc/kvm/booke.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/powerpc/kvm/booke.c b/arch/powerpc/kvm/booke.c index 10e2d76d8546..6c18ea88fd25 100644 --- a/arch/powerpc/kvm/booke.c +++ b/arch/powerpc/kvm/booke.c @@ -2073,11 +2073,6 @@ void kvmppc_booke_vcpu_put(struct kvm_vcpu *vcpu) kvmppc_clear_dbsr(); } -void kvmppc_mmu_destroy(struct kvm_vcpu *vcpu) -{ - vcpu->kvm->arch.kvm_ops->mmu_destroy(vcpu); -} - int kvmppc_core_init_vm(struct kvm *kvm) { return kvm->arch.kvm_ops->init_vm(kvm); |