From: Marek Vasut Date: Sun, 9 Jan 2011 23:29:03 +0000 (+0100) Subject: ARM: pxa: remove unused variable in clock-pxa3xx.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b6aec3a5d6d8e898baef3ed0d1b2911ee5e718a3;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ARM: pxa: remove unused variable in clock-pxa3xx.c Signed-off-by: Marek Vasut Signed-off-by: Eric Miao --- 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];