ARM: S5P: Remove duplicate kdiv calculation
authorJonghwan Choi <jhbird.choi@samsung.com>
Tue, 23 Aug 2011 07:08:06 +0000 (16:08 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Fri, 16 Sep 2011 06:43:26 +0000 (15:43 +0900)
Signed-off-by: Jonghwan Choi <jhbird.choi@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/plat-s5p/include/plat/pll.h

index bf28fad..ebc142c 100644 (file)
@@ -72,7 +72,6 @@ static inline unsigned long s5p_get_pll46xx(unsigned long baseclk,
        mdiv = (pll_con0 >> PLL46XX_MDIV_SHIFT) & PLL46XX_MDIV_MASK;
        pdiv = (pll_con0 >> PLL46XX_PDIV_SHIFT) & PLL46XX_PDIV_MASK;
        sdiv = (pll_con0 >> PLL46XX_SDIV_SHIFT) & PLL46XX_SDIV_MASK;
-       kdiv = pll_con1 & PLL46XX_KDIV_MASK;
 
        if (pll_type == pll_4650c)
                kdiv = pll_con1 & PLL4650C_KDIV_MASK;