Re: [PATCH] clk: socfpga: clk-pll: Remove unused variable 'rc'
From: Stephen Boyd
Date: Sun Jun 27 2021 - 20:33:52 EST
Quoting Jian Xin (2021-06-09 00:37:42)
> From: Jian Xin <xinjian@xxxxxxxxxx>
>
> Fix the following build warning:
> drivers/clk/socfpga/clk-pll.c: In function ‘__socfpga_pll_init’:
> drivers/clk/socfpga/clk-pll.c:83:6: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable]
>
> Signed-off-by: Jian Xin <xinjian@xxxxxxxxxx>
> ---
Applied to clk-next but it would be better to check the return value and
fail properly.