summaryrefslogtreecommitdiff
path: root/fs/fscache
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2021-06-25 10:58:33 +0000
committerMichael Ellerman <mpe@ellerman.id.au>2021-08-25 13:35:48 +1000
commit316389e904f968d24d44cd96a6d171ee1ef269cf (patch)
tree5940a3b352fbeeaaba99662a95e3419b2c9053c7 /fs/fscache
parente084728393a58e7fdafeee2e6b20e0faff09b557 (diff)
powerpc/syscalls: Simplify do_mmap2()
When shift is nul, operations remain valid so no test needed. And 'ret' is unnecessary. And use IS_ALIGNED() to check alignment, that's more clear. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/373ec500f386374bc5735007df3d3869eac47be1.1624618701.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'fs/fscache')
0 files changed, 0 insertions, 0 deletions