mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 13:41:30 +00:00
clk: imx: remove redundant initialization of ret to zero
The initialization of ret is redundant as it is being re-assigned to the return value from the call to imx8m_clk_composite_compute_dividers. Clean this up by removing the initialization. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
This commit is contained in:
parent
ff70fbd0e8
commit
33e7a84225
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ static int imx8m_clk_composite_divider_set_rate(struct clk_hw *hw,
|
||||||
unsigned long flags = 0;
|
unsigned long flags = 0;
|
||||||
int prediv_value;
|
int prediv_value;
|
||||||
int div_value;
|
int div_value;
|
||||||
int ret = 0;
|
int ret;
|
||||||
u32 val;
|
u32 val;
|
||||||
|
|
||||||
ret = imx8m_clk_composite_compute_dividers(rate, parent_rate,
|
ret = imx8m_clk_composite_compute_dividers(rate, parent_rate,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue