Skip to content
Commit be411411 authored by YueHaibing's avatar YueHaibing Committed by Stephen Boyd
Browse files

clk: mmp: frac: Remove set but not used variable 'prev_rate'



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: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent da6a5dda
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment