[PATCH] clk: actions: remove redundant assignment after a mask operation

Stephen Boyd sboyd at kernel.org
Fri Apr 22 19:01:23 PDT 2022


Quoting Colin Ian King (2022-04-18 07:15:37)
> The assignment operation after a & mask operation is redundant,
> the &= operator can be replaced with just the & operator.
> 
> Cleans up a clang-scan warning:
> drivers/clk/actions/owl-pll.c:28:9: warning: Although the value
> stored to 'mul' is used in the enclosing expression, the value is
> never actually read from 'mul' [deadcode.DeadStores]
> 
> Signed-off-by: Colin Ian King <colin.i.king at gmail.com>
> ---

Applied to clk-next



More information about the linux-arm-kernel mailing list