From: Deng-Cheng Zhu Date: Thu, 26 Jun 2014 19:11:40 +0000 (-0700) Subject: MIPS: KVM: Remove dead code of TLB index error in kvm_mips_emul_tlbwr() X-Git-Tag: omap-for-v3.17/fixes-against-rc2~184^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab76228a48d434d67cf72f8753307db104e81cc6;p=pandora-kernel.git MIPS: KVM: Remove dead code of TLB index error in kvm_mips_emul_tlbwr() It's impossible to fall into the error handling of the TLB index after being masked by (KVM_MIPS_GUEST_TLB_SIZE - 1). Remove the dead code. Reported-by: James Hogan Signed-off-by: Deng-Cheng Zhu Reviewed-by: James Hogan Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed