[PATCH] riscv: Remove unnecessary int cast in variable_fls()

patchwork-bot+linux-riscv at kernel.org patchwork-bot+linux-riscv at kernel.org
Mon Jul 29 09:39:39 PDT 2024


Hello:

This patch was applied to riscv/linux.git (fixes)
by Yury Norov <yury.norov at gmail.com>:

On Wed, 10 Jul 2024 22:24:18 +0200 you wrote:
> __builtin_clz() returns an int and casting the whole expression to int
> is unnecessary. Remove it.
> 
> Signed-off-by: Thorsten Blum <thorsten.blum at toblux.com>
> ---
>  arch/riscv/include/asm/bitops.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
  - riscv: Remove unnecessary int cast in variable_fls()
    https://git.kernel.org/riscv/c/fb9086e95ad8

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html





More information about the linux-riscv mailing list