[PATCH 04/14] clk: imx: unsigned mfn is never less than zero

Lucas Stach dev at lynxeye.de
Fri Feb 7 03:48:46 EST 2014


Signed-off-by: Lucas Stach <dev at lynxeye.de>
---
 arch/arm/mach-imx/clk-pllv1.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arm/mach-imx/clk-pllv1.c b/arch/arm/mach-imx/clk-pllv1.c
index 6785da0..372ffb5 100644
--- a/arch/arm/mach-imx/clk-pllv1.c
+++ b/arch/arm/mach-imx/clk-pllv1.c
@@ -60,8 +60,6 @@ static unsigned long clk_pllv1_recalc_rate(struct clk *clk,
 	ll = (unsigned long long)freq * mfn_abs;
 
 	do_div(ll, mfd + 1);
-	if (mfn < 0)
-		ll = -ll;
 	ll = (freq * mfi) + ll;
 
 	return ll;
-- 
1.8.5.3




More information about the barebox mailing list