MIPS: KVM: remove the stale memory alias support function unalias_gfn
authorDeng-Cheng Zhu <dengcheng.zhu@imgtec.com>
Thu, 29 May 2014 19:12:22 +0000 (12:12 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 29 May 2014 19:38:21 +0000 (21:38 +0200)
The memory alias support has been removed since a1f4d39500 (KVM: Remove
memory alias support). So remove unalias_gfn from the MIPS port.

Reviewed-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Deng-Cheng Zhu <dengcheng.zhu@imgtec.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/mips/kvm/kvm_mips.c

index da5186fbd77a3a6946d7ffd125805f92d407fa65..a0d1e7105c4e56e7b0965a4b756e66311eba48c9 100644 (file)
@@ -61,11 +61,6 @@ static int kvm_mips_reset_vcpu(struct kvm_vcpu *vcpu)
        return 0;
 }
 
-gfn_t unalias_gfn(struct kvm *kvm, gfn_t gfn)
-{
-       return gfn;
-}
-
 /* XXXKYMA: We are simulatoring a processor that has the WII bit set in Config7, so we
  * are "runnable" if interrupts are pending
  */