Now that some functions are external again the warnings don't appear
any more so the work around added earlier can be removed again.
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
---
target/ppc/mmu_common.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/target/ppc/mmu_common.c b/target/ppc/mmu_common.c
index 9ab67141b9..c559ad2d94 100644
--- a/target/ppc/mmu_common.c
+++ b/target/ppc/mmu_common.c
@@ -720,8 +720,6 @@ static bool ppc_jumbo_xlate(PowerPCCPU *cpu, vaddr eaddr,
ret = mmu6xx_get_physical_address(env, &ctx, eaddr, access_type, type);
break;
case POWERPC_MMU_SOFT_4xx:
- /* avoid maybe used uninitialized warnings for unused fields in ctx */
- memset(&ctx, 0, sizeof(ctx));
ret = mmu40x_get_physical_address(env, &ctx.raddr, &ctx.prot, eaddr,
access_type);
break;
--
2.30.9