[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v5 32/32] target/ppc/mmu_common.c: Remove work around for spuriou
|
From: |
BALATON Zoltan |
|
Subject: |
[PATCH v5 32/32] target/ppc/mmu_common.c: Remove work around for spurious warnings |
|
Date: |
Thu, 09 May 2024 22:26:07 +0200 (CEST) |
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
- [PATCH v5 09/32] target/ppc/mmu_common.c: Eliminate ret from mmu6xx_get_physical_address(), (continued)
- [PATCH v5 09/32] target/ppc/mmu_common.c: Eliminate ret from mmu6xx_get_physical_address(), BALATON Zoltan, 2024/05/09
- [PATCH v5 15/32] target/ppc/mmu_common.c: Replace hard coded constants in ppc_jumbo_xlate(), BALATON Zoltan, 2024/05/09
- [PATCH v5 16/32] target/ppc/mmu_common.c: Don't use mmu_ctx_t for mmu40x_get_physical_address(), BALATON Zoltan, 2024/05/09
- [PATCH v5 23/32] target/ppc/mmu_common.c: Move mmu_ctx_t type to mmu_common.c, BALATON Zoltan, 2024/05/09
- [PATCH v5 21/32] target/ppc/mmu_common.c: Split off BookE handling from ppc_jumbo_xlate(), BALATON Zoltan, 2024/05/09
- [PATCH v5 24/32] target/ppc/mmu_common.c: Simplify ppc_booke_xlate() part 1, BALATON Zoltan, 2024/05/09
- [PATCH v5 25/32] target/ppc/mmu_common.c: Simplify ppc_booke_xlate() part 2, BALATON Zoltan, 2024/05/09
- [PATCH v5 26/32] target/ppc: Remove id_tlbs flag from CPU env, BALATON Zoltan, 2024/05/09
- [PATCH v5 28/32] target/ppc/mmu-hash32.c: Drop a local variable, BALATON Zoltan, 2024/05/09
- [PATCH v5 29/32] target/ppc/mmu-radix64.c: Drop a local variable, BALATON Zoltan, 2024/05/09
- [PATCH v5 32/32] target/ppc/mmu_common.c: Remove work around for spurious warnings,
BALATON Zoltan <=
- [PATCH v5 30/32] target/ppc: Add a function to check for page protection bit, BALATON Zoltan, 2024/05/09
- [PATCH v5 31/32] target/ppc: Move out BookE and related MMU functions from mmu_common.c, BALATON Zoltan, 2024/05/09
- [PATCH v5 27/32] target/ppc: Split off common embedded TLB init, BALATON Zoltan, 2024/05/09
- Re: [PATCH v5 00/32] Misc PPC exception and BookE MMU clean ups, BALATON Zoltan, 2024/05/10