target/ppc: Remove unneeded local variable from booke tlb checks
authorBALATON Zoltan <balaton@eik.bme.hu>
Sun, 12 May 2024 23:27:36 +0000 (01:27 +0200)
committerNicholas Piggin <npiggin@gmail.com>
Thu, 23 May 2024 23:41:17 +0000 (09:41 +1000)
commit750fbe334237e03056fda45ab36c8b155f65d1b5
treeebfb4e6a33fe2389880b06cca266090d77587322
parent3f520078deba9b5aaf5f5896c5b836341f5fc652
target/ppc: Remove unneeded local variable from booke tlb checks

In mmubooke_check_tlb() and mmubooke206_check_tlb() we can assign the
value of prot2 directly to the destination, no need to have a separate
local variable for it.

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