summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/clock-pxa3xx.c
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2011-01-10 00:29:03 +0100
committerEric Miao <eric.y.miao@gmail.com>2011-01-14 10:21:03 -0600
commitb6aec3a5d6d8e898baef3ed0d1b2911ee5e718a3 (patch)
treec4368dd54c17d3a73a40e1e9604f523e45b7b2fa /arch/arm/mach-pxa/clock-pxa3xx.c
parentbc3e55c69c404158ef3c5b1a6515f5e9f1294403 (diff)
downloadblackbird-obmc-linux-b6aec3a5d6d8e898baef3ed0d1b2911ee5e718a3.tar.gz
blackbird-obmc-linux-b6aec3a5d6d8e898baef3ed0d1b2911ee5e718a3.zip
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>
Diffstat (limited to 'arch/arm/mach-pxa/clock-pxa3xx.c')
-rw-r--r--arch/arm/mach-pxa/clock-pxa3xx.c1
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)
{
unsigned long acsr = ACSR;
unsigned long memclkcfg = __raw_readl(MEMCLKCFG);
- unsigned int smcfs = (acsr >> 23) & 0x7;
return BASE_CLK * smcfs_mult[(acsr >> 23) & 0x7] /
df_clkdiv[(memclkcfg >> 16) & 0x3];
OpenPOWER on IntegriCloud