lkml.org 
[lkml]   [2021]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] clk: socfpga: clk-pll: Remove unused variable 'rc'
From
Date
Quoting Jian Xin (2021-06-09 00:37:42)
> From: Jian Xin <xinjian@yulong.com>
>
> 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@yulong.com>
> ---

Applied to clk-next but it would be better to check the return value and
fail properly.

\
 
 \ /
  Last update: 2021-06-28 02:34    [W:1.465 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site