diff options
author | Claudiu Beznea <claudiu.beznea@microchip.com> | 2022-06-30 18:12:05 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2022-08-23 17:53:47 -0700 |
commit | 75569a03369bfee7ee226c04915febf025585b5f (patch) | |
tree | 79e7811bcf4ec7a6e2af353e646a7d3b22574740 /drivers/clk/clk.c | |
parent | 79806d338829b2bf903480428d8ce5aab8e2d24b (diff) | |
download | linux-75569a03369bfee7ee226c04915febf025585b5f.tar.gz linux-75569a03369bfee7ee226c04915febf025585b5f.tar.bz2 linux-75569a03369bfee7ee226c04915febf025585b5f.zip |
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>
Diffstat (limited to 'drivers/clk/clk.c')
-rw-r--r-- | drivers/clk/clk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index 141af74904e7..8ccce917c260 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; |