diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2019-05-01 22:38:44 -0700 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2019-05-10 11:12:50 -0700 |
| commit | e38f4eb63020075432cb77bf48398187809cf4a3 (patch) | |
| tree | cf9f95a2a9a9b3901e52bf7853a0c00c78f0f7b8 /hw/virtio/vhost-user-input-pci.c | |
| parent | 995ffde9622c01f5b307cab47f9bd7962ac09db2 (diff) | |
| download | focaccia-qemu-e38f4eb63020075432cb77bf48398187809cf4a3.tar.gz focaccia-qemu-e38f4eb63020075432cb77bf48398187809cf4a3.zip | |
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>
Diffstat (limited to 'hw/virtio/vhost-user-input-pci.c')
0 files changed, 0 insertions, 0 deletions