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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent 79806d3 commit 75569a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)