Commit b6aec3a5 authored by Marek Vasut's avatar Marek Vasut Committed by Eric Miao

ARM: pxa: remove unused variable in clock-pxa3xx.c

Signed-off-by: default avatarMarek Vasut <marek.vasut@gmail.com>
Signed-off-by: default avatarEric Miao <eric.y.miao@gmail.com>
parent bc3e55c6
...@@ -115,7 +115,6 @@ static unsigned long clk_pxa3xx_smemc_getrate(struct clk *clk) ...@@ -115,7 +115,6 @@ static unsigned long clk_pxa3xx_smemc_getrate(struct clk *clk)
{ {
unsigned long acsr = ACSR; unsigned long acsr = ACSR;
unsigned long memclkcfg = __raw_readl(MEMCLKCFG); unsigned long memclkcfg = __raw_readl(MEMCLKCFG);
unsigned int smcfs = (acsr >> 23) & 0x7;
return BASE_CLK * smcfs_mult[(acsr >> 23) & 0x7] / return BASE_CLK * smcfs_mult[(acsr >> 23) & 0x7] /
df_clkdiv[(memclkcfg >> 16) & 0x3]; df_clkdiv[(memclkcfg >> 16) & 0x3];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment