Skip to content

Commit 75569a0

Browse files
claudiubezneabebarino
authored andcommitted
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>
1 parent 79806d3 commit 75569a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/clk/clk.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2189,7 +2189,7 @@ static int clk_core_set_rate_nolock(struct clk_core *core,
21892189
{
21902190
struct clk_core *top, *fail_clk;
21912191
unsigned long rate;
2192-
int ret = 0;
2192+
int ret;
21932193

21942194
if (!core)
21952195
return 0;

0 commit comments

Comments
 (0)