diff options
author | Greg Kurz <groug@kaod.org> | 2020-03-18 18:43:42 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@ozlabs.org> | 2020-03-19 06:43:07 +0100 |
commit | 6fef0c6bbe4987fc94c14f52782b224ddaf3530b (patch) | |
tree | fc77b30d250a72fa0bea725ac676399647ea0319 /arch/powerpc/kvm/e500_mmu.c | |
parent | KVM: PPC: Book3S PR: Move kvmppc_mmu_init() into PR KVM (diff) | |
download | linux-6fef0c6bbe4987fc94c14f52782b224ddaf3530b.tar.xz linux-6fef0c6bbe4987fc94c14f52782b224ddaf3530b.zip |
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/e500_mmu.c')
-rw-r--r-- | arch/powerpc/kvm/e500_mmu.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/powerpc/kvm/e500_mmu.c b/arch/powerpc/kvm/e500_mmu.c index 2d910b87e441..e131fbecdcc4 100644 --- a/arch/powerpc/kvm/e500_mmu.c +++ b/arch/powerpc/kvm/e500_mmu.c @@ -533,10 +533,6 @@ gpa_t kvmppc_mmu_xlate(struct kvm_vcpu *vcpu, unsigned int index, return get_tlb_raddr(gtlbe) | (eaddr & pgmask); } -void kvmppc_mmu_destroy_e500(struct kvm_vcpu *vcpu) -{ -} - /*****************************************/ static void free_gtlb(struct kvmppc_vcpu_e500 *vcpu_e500) |