[PATCH 2/5] pxa: Remove unused variable in clock-pxa3xx.c

Eric Miao eric.y.miao at gmail.com
Mon Jan 10 17:42:05 EST 2011


On Sun, Jan 9, 2011 at 5:29 PM, Marek Vasut <marek.vasut at gmail.com> wrote:
> Signed-off-by: Marek Vasut <marek.vasut at gmail.com>

Applied.

> ---
>  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 1b08a34..3f864cd 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];
> --
> 1.7.2.3
>
>



More information about the linux-arm-kernel mailing list