projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c9feab
)
clk: zynqmp: pll: Remove some dead code
author
Christophe JAILLET
<christophe.jaillet@wanadoo.fr>
Sat, 1 May 2021 11:24:32 +0000
(13:24 +0200)
committer
Stephen Boyd
<sboyd@kernel.org>
Fri, 25 Jun 2021 23:08:18 +0000
(16:08 -0700)
'clk_hw_set_rate_range()' does not return any error code and 'ret' is
known to be 0 at this point, so this message can never be displayed.
Remove it.
Fixes: 3fde0e16d016 ("drivers: clk: Add ZynqMP clock driver")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link:
https://lore.kernel.org/r/71a9fed5f762a71248b8ac73c0a15af82f3ce1e2.1619867987.git.christophe.jaillet@wanadoo.fr
Reviewed-by: Michael Tretter <m.tretter@pengutronix.de>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/zynqmp/pll.c
patch
|
blob
|
history
diff --git
a/drivers/clk/zynqmp/pll.c
b/drivers/clk/zynqmp/pll.c
index e025581f0d54a1db0a23477a0bd511d361017fe4..793b950ade0900a0656b2fba633375a87469921d 100644
(file)
--- a/
drivers/clk/zynqmp/pll.c
+++ b/
drivers/clk/zynqmp/pll.c
@@
-341,8
+341,6
@@
struct clk_hw *zynqmp_clk_register_pll(const char *name, u32 clk_id,
}
clk_hw_set_rate_range(hw, PS_PLL_VCO_MIN, PS_PLL_VCO_MAX);
- if (ret < 0)
- pr_err("%s:ERROR clk_set_rate_range failed %d\n", name, ret);
return hw;
}