On Fri, 25 Jun 2021 10:58:33 + (UTC), Christophe Leroy wrote:
> 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.
>
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/syscalls: Simplify
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
---
arch/powerpc/kernel/syscalls.c | 15 ---
1 file changed, 4 insertions(+), 11 deletions(-)
diff --