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 /scripts/qapi/expr.py | |
| parent | 8abd6d4288f69627f49d1e6e228d2f0d9d490c21 (diff) | |
| download | focaccia-qemu-40df08d2239f00abacdd58a39c34a66264ec91a9.tar.gz focaccia-qemu-40df08d2239f00abacdd58a39c34a66264ec91a9.zip | |
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 'scripts/qapi/expr.py')
0 files changed, 0 insertions, 0 deletions