mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 07:04:24 +00:00
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:
parent
79806d3388
commit
75569a0336
1 changed files with 1 additions and 1 deletions
|
@ -2189,7 +2189,7 @@ static int clk_core_set_rate_nolock(struct clk_core *core,
|
||||||
{
|
{
|
||||||
struct clk_core *top, *fail_clk;
|
struct clk_core *top, *fail_clk;
|
||||||
unsigned long rate;
|
unsigned long rate;
|
||||||
int ret = 0;
|
int ret;
|
||||||
|
|
||||||
if (!core)
|
if (!core)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue