diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2011-01-09 18:29:03 -0500 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2011-01-14 11:21:03 -0500 |
commit | b6aec3a5d6d8e898baef3ed0d1b2911ee5e718a3 (patch) | |
tree | c4368dd54c17d3a73a40e1e9604f523e45b7b2fa | |
parent | bc3e55c69c404158ef3c5b1a6515f5e9f1294403 (diff) |
ARM: pxa: remove unused variable in clock-pxa3xx.c
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
-rw-r--r-- | arch/arm/mach-pxa/clock-pxa3xx.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/clock-pxa3xx.c b/arch/arm/mach-pxa/clock-pxa3xx.c index 1b08a34ab234..3f864cd0bd28 100644 --- a/arch/arm/mach-pxa/clock-pxa3xx.c +++ b/arch/arm/mach-pxa/clock-pxa3xx.c | |||
@@ -115,7 +115,6 @@ static unsigned long clk_pxa3xx_smemc_getrate(struct clk *clk) | |||
115 | { | 115 | { |
116 | unsigned long acsr = ACSR; | 116 | unsigned long acsr = ACSR; |
117 | unsigned long memclkcfg = __raw_readl(MEMCLKCFG); | 117 | unsigned long memclkcfg = __raw_readl(MEMCLKCFG); |
118 | unsigned int smcfs = (acsr >> 23) & 0x7; | ||
119 | 118 | ||
120 | return BASE_CLK * smcfs_mult[(acsr >> 23) & 0x7] / | 119 | return BASE_CLK * smcfs_mult[(acsr >> 23) & 0x7] / |
121 | df_clkdiv[(memclkcfg >> 16) & 0x3]; | 120 | df_clkdiv[(memclkcfg >> 16) & 0x3]; |