From: Lee Jones Date: Tue, 7 Jun 2016 12:25:02 +0000 (+0100) Subject: clk: Remove unused variable X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=06b37e4a6ef2d392f3f35c94a9fe5d43f09f36c7;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git clk: Remove unused variable Signed-off-by: Lee Jones Signed-off-by: Stephen Boyd --- diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index 874c7dd8ef66..df844a60fdf9 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c @@ -1501,7 +1501,6 @@ static int clk_core_set_rate_nolock(struct clk_core *core, { struct clk_core *top, *fail_clk; unsigned long rate = req_rate; - int ret = 0; if (!core) return 0; @@ -1532,7 +1531,7 @@ static int clk_core_set_rate_nolock(struct clk_core *core, core->req_rate = req_rate; - return ret; + return 0; } /**