lkml.org 
[lkml]   [2019]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH -next] clk: mmp: frac: Remove set but not used variable 'prev_rate'
Date
Quoting YueHaibing (2019-05-25 07:25:35)
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/clk/mmp/clk-frac.c: In function clk_factor_set_rate:
> drivers/clk/mmp/clk-frac.c:81:16: warning: variable prev_rate set but not used [-Wunused-but-set-variable]
>
> It's never used and can be removed.
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> ---

Applied to clk-next

\
 
 \ /
  Last update: 2019-06-06 20:26    [W:0.160 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site