clk: do not initialize ret

There is no need to initialize ret.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20220630151205.3935560-2-claudiu.beznea@microchip.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
This commit is contained in:
Claudiu Beznea 2022-06-30 18:12:05 +03:00 committed by Stephen Boyd
parent 79806d3388
commit 75569a0336
1 changed files with 1 additions and 1 deletions

View File

@ -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;