diff options
author | BALATON Zoltan <balaton@eik.bme.hu> | 2024-05-27 01:12:50 +0200 |
---|---|---|
committer | Nicholas Piggin <npiggin@gmail.com> | 2024-07-26 09:51:34 +1000 |
commit | 40df08d2239f00abacdd58a39c34a66264ec91a9 (patch) | |
tree | ca3ca1315180b51efcbbf4f0580592508d5387f8 /module-common.c | |
parent | 8abd6d4288f69627f49d1e6e228d2f0d9d490c21 (diff) |
target/ppc/mmu_common.c: Simplify a switch statement
In mmu6xx_get_physical_address() the switch handles all cases so the
default is never reached and can be dropped. Also group together cases
which just return -4.
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Diffstat (limited to 'module-common.c')
0 files changed, 0 insertions, 0 deletions