]> www.infradead.org Git - users/dwmw2/qemu.git/commit
target/ppc/mmu_common.c: Remove yet another single use local variable
authorBALATON Zoltan <balaton@eik.bme.hu>
Sun, 26 May 2024 23:12:41 +0000 (01:12 +0200)
committerNicholas Piggin <npiggin@gmail.com>
Thu, 25 Jul 2024 23:51:33 +0000 (09:51 +1000)
commit7ee01cf8632e0666f933a88ddd97315cc17cc4e0
tree7ffff08018ddebe7e00449a4753b3a75de7d12cc
parent3208c36ad34213eee36b1427d8cb944cfa0a192c
target/ppc/mmu_common.c: Remove yet another single use local variable

In ppc6xx_tlb_pte_check() the pp variable is used only once to pass it
to a function parameter with the same name. Remove the local and
inline the value. Also use named constant for the hex value to make it
clearer.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
target/ppc/mmu_common.c