]> git.proxmox.com Git - mirror_qemu.git/commit
target/mips: Tidy control flow in mips_cpu_handle_mmu_fault
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 2 May 2019 05:38:44 +0000 (22:38 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 10 May 2019 18:12:50 +0000 (11:12 -0700)
commite38f4eb63020075432cb77bf48398187809cf4a3
treecf9f95a2a9a9b3901e52bf7853a0c00c78f0f7b8
parent995ffde9622c01f5b307cab47f9bd7962ac09db2
target/mips: Tidy control flow in mips_cpu_handle_mmu_fault

Since the only non-negative TLBRET_* value is TLBRET_MATCH,
the subsequent test for ret < 0 is useless.  Use early return
to allow subsequent blocks to be unindented.

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/mips/helper.c