ARM: pxa: remove unused variable in clock-pxa3xx.c
authorMarek Vasut <marek.vasut@gmail.com>
Sun, 9 Jan 2011 23:29:03 +0000 (00:29 +0100)
committerEric Miao <eric.y.miao@gmail.com>
Fri, 14 Jan 2011 16:21:03 +0000 (10:21 -0600)
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
arch/arm/mach-pxa/clock-pxa3xx.c

index 1b08a34..3f864cd 100644 (file)
@@ -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];