]> asedeno.scripts.mit.edu Git - linux.git/commit
MIPS: KVM: Drop unused hpa0/hpa1 args from function
authorJames Hogan <james.hogan@imgtec.com>
Thu, 9 Jun 2016 13:19:13 +0000 (14:19 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 14 Jun 2016 09:02:43 +0000 (11:02 +0200)
commit26ee17ff71d3def831bfa4f6851ed1ba789e24f6
tree43ff611792ccb6c6e076f074d58b6f8f351dd69a
parent021df206354cf1e1d341b66dee19ac250c9dc37d
MIPS: KVM: Drop unused hpa0/hpa1 args from function

The function kvm_mips_handle_mapped_seg_tlb_fault() has two completely
unused pointer arguments, hpa0 and hpa1, for which all users always pass
NULL.

Drop these two arguments and update the callers.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Radim Krčmář <rkrcmar@redhat.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Cc: kvm@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/mips/include/asm/kvm_host.h
arch/mips/kvm/emulate.c
arch/mips/kvm/mmu.c