From: Claudiu Beznea Date: Thu, 30 Jun 2022 15:12:05 +0000 (+0300) Subject: clk: do not initialize ret X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=75569a03369bfee7ee226c04915febf025585b5f;p=linux.git clk: do not initialize ret There is no need to initialize ret. Signed-off-by: Claudiu Beznea Link: https://lore.kernel.org/r/20220630151205.3935560-2-claudiu.beznea@microchip.com Signed-off-by: Stephen Boyd --- diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index 141af74904e7d..8ccce917c2606 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c @@ -2189,7 +2189,7 @@ static int clk_core_set_rate_nolock(struct clk_core *core, { struct clk_core *top, *fail_clk; unsigned long rate; - int ret = 0; + int ret; if (!core) return 0;