[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20220423020125.3E902C385A0@smtp.kernel.org>
Date: Fri, 22 Apr 2022 19:01:23 -0700
From: Stephen Boyd <sboyd@...nel.org>
To: Andreas Färber <afaerber@...e.de>,
Colin Ian King <colin.i.king@...il.com>,
Manivannan Sadhasivam <mani@...nel.org>,
Michael Turquette <mturquette@...libre.com>,
linux-actions@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org, linux-clk@...r.kernel.org
Cc: kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org,
llvm@...ts.linux.dev
Subject: Re: [PATCH] clk: actions: remove redundant assignment after a mask operation
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@...il.com>
> ---
Applied to clk-next
Powered by blists - more mailing lists