powerpc/ptdump: Refactor update of st->last_pa
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Mon, 29 Jun 2020 11:17:18 +0000 (11:17 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 26 Jul 2020 14:01:30 +0000 (00:01 +1000)
commit846feeace51bce13f5c645d5bf162455b89841fd
tree26b91da71e558e046d06dcad7c9c485d6df3e342
parent6ca055322da8fe25ff9ac50db6f3b7b59b6f961c
powerpc/ptdump: Refactor update of st->last_pa

st->last_pa is always updated in note_page() so it can
be done outside the if/elseif/else block.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/610d6b1a60ad0bedef865a90153c1110cfaa507e.1593429426.git.christophe.leroy@csgroup.eu
arch/powerpc/mm/ptdump/ptdump.c