summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx6/clock.c
diff options
context:
space:
mode:
authorJason Liu <r64343@freescale.com>2012-02-14 17:20:20 +0800
committerJason Liu <r64343@freescale.com>2012-02-15 12:54:16 +0800
commita253c65da4a92cb6af2674d090a1c053f45a2821 (patch)
tree8edf715a922df20cb8bcc6bde9961809796b4908 /arch/arm/mach-mx6/clock.c
parent471dc6c1efc378f673b90aaeedb49a41e6097238 (diff)
ENGR00174423-2: i.mx6: clock: code clean up in pfd_set_rate
code clean up by removing the dead code in function pfd_set_rate Signed-off-by: Jason Liu <r64343@freescale.com>
Diffstat (limited to 'arch/arm/mach-mx6/clock.c')
-rw-r--r--arch/arm/mach-mx6/clock.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-mx6/clock.c b/arch/arm/mach-mx6/clock.c
index 41eeebd2d6a1..13026f934d9a 100644
--- a/arch/arm/mach-mx6/clock.c
+++ b/arch/arm/mach-mx6/clock.c
@@ -344,9 +344,6 @@ static int pfd_set_rate(struct clk *clk, unsigned long rate)
__raw_writel(frac << clk->enable_shift,
(int)clk->enable_reg + 4);
- tmp = (u64)clk_get_rate(clk->parent) * 18;
- do_div(tmp, frac);
-
if (apbh_dma_clk.usecount == 0)
apbh_dma_clk.disable(&apbh_dma_clk);
return 0;