mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-05-05 04:36:13 +02:00
clk: meson: Remove unreachable code
A second return following the first return is unreachable code so remove it. This issue was found by Smatch. Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://lore.kernel.org/r/20250723-clk_meson-v1-1-8cd6e73145a4@linaro.org Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
This commit is contained in:
parent
b332723882
commit
bb2d7ea6f2
@ -916,8 +916,6 @@ static ulong meson_clk_set_rate_by_id(struct clk *clk, unsigned long id,
|
||||
return -EINVAL;
|
||||
case CLKID_PCIE_PLL:
|
||||
return meson_pcie_pll_set_rate(clk, rate);
|
||||
|
||||
return 0;
|
||||
case CLKID_VPU:
|
||||
return meson_clk_set_rate_by_id(clk,
|
||||
meson_mux_get_parent(clk, CLKID_VPU), rate,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user