[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220226010050.60105C340E7@smtp.kernel.org>
Date: Fri, 25 Feb 2022 17:00:48 -0800
From: Stephen Boyd <sboyd@...nel.org>
To: Jonathan Neuschäfer <j.neuschaefer@....net>,
linux-clk@...r.kernel.org
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Jonathan Neuschäfer <j.neuschaefer@....net>,
kernel test robot <lkp@...el.com>,
Michael Turquette <mturquette@...libre.com>,
Vladimir Zapolskiy <vz@...ia.com>,
Joachim Eastwood <manabian@...il.com>
Subject: Re: [PATCH v2 1/7] clk: nxp: Remove unused variable
Quoting Jonathan Neuschäfer (2022-02-05 02:36:07)
> GCC warns:
>
> > ../drivers/clk/nxp/clk-lpc18xx-cgu.c: In function ‘lpc18xx_pll1_recalc_rate’:
> > ../drivers/clk/nxp/clk-lpc18xx-cgu.c:460:13: warning: variable ‘stat’ set but not used [-Wunused-but-set-variable]
> > 460 | u32 stat, ctrl;
> > | ^~~~
>
> Get rid of the (apparently) useless read from the PLL1_STAT register and
> the declaration of stat.
>
> Reported-by: kernel test robot <lkp@...el.com>
> Fixes: b04e0b8fd5443 ("clk: add lpc18xx cgu clk driver")
> Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@....net>
> ---
Applied to clk-next
Powered by blists - more mailing lists