[PATCH 4/7] arm: at91: remove unused variable

Bo Shen voice.shen at atmel.com
Mon Oct 20 18:56:54 PDT 2014


Hi Lucas,

On 10/21/2014 02:15 AM, Lucas Stach wrote:
> Signed-off-by: Lucas Stach <dev at lynxeye.de>

Acked-by: Bo Shen <voice.shen at atmel.com>

> ---
>   arch/arm/mach-at91/clock.c | 4 ----
>   1 file changed, 4 deletions(-)
>
> diff --git a/arch/arm/mach-at91/clock.c b/arch/arm/mach-at91/clock.c
> index 7a4282e..a7051c3 100644
> --- a/arch/arm/mach-at91/clock.c
> +++ b/arch/arm/mach-at91/clock.c
> @@ -347,7 +347,6 @@ EXPORT_SYMBOL(clk_get_rate);
>
>   long clk_round_rate(struct clk *clk, unsigned long rate)
>   {
> -	unsigned long	flags;
>   	unsigned	prescale;
>   	unsigned long	actual;
>   	unsigned long	prev = ULONG_MAX;
> @@ -376,7 +375,6 @@ EXPORT_SYMBOL(clk_round_rate);
>
>   int clk_set_rate(struct clk *clk, unsigned long rate)
>   {
> -	unsigned long	flags;
>   	unsigned	prescale;
>   	unsigned long	prescale_offset, css_mask;
>   	unsigned long	actual;
> @@ -421,8 +419,6 @@ EXPORT_SYMBOL(clk_get_parent);
>
>   int clk_set_parent(struct clk *clk, struct clk *parent)
>   {
> -	unsigned long	flags;
> -
>   	if (clk->users)
>   		return -EBUSY;
>   	if (!clk_is_primary(parent) || !clk_is_programmable(clk))
>

Best Regards,
Bo Shen



More information about the barebox mailing list