Re: [PATCH 15/43] target/ppc/mmu_common.c: Simplify a switch statement

2024-07-04 Thread Nicholas Piggin
On Mon May 27, 2024 at 9:12 AM AEST, BALATON Zoltan wrote: > 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. Reviewed-by: Nicholas Piggin > > Signed-off-by: BALATON Zoltan >

[PATCH 15/43] target/ppc/mmu_common.c: Simplify a switch statement

2024-05-26 Thread BALATON Zoltan
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 --- target/ppc/mmu_common.c | 19 --- 1 file changed, 4 insertions(+), 15 deletions(-)