[PATCH 7/7] arm: aspeed: Fix unused variable warning

Andrew Jeffery andrew at aj.id.au
Tue Nov 22 16:27:50 AEDT 2016


On Tue, 2016-11-22 at 14:38 +1030, Joel Stanley wrote:
> Signed-off-by: Joel Stanley <joel at jms.id.au>

Reviewed-by: Andrew Jeffery <andrew at aj.id.au>

> ---
>  arch/arm/mach-aspeed/aspeed.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/arch/arm/mach-aspeed/aspeed.c b/arch/arm/mach-aspeed/aspeed.c
> index e64497a297a1..a491cd2ff003 100644
> --- a/arch/arm/mach-aspeed/aspeed.c
> +++ b/arch/arm/mach-aspeed/aspeed.c
> @@ -128,8 +128,6 @@ static void __init do_garrison_setup(void)
>  
>  static void __init do_ast2500evb_setup(void)
>  {
> > -	unsigned long reg;
> -
> >  	/* Set strap to RGMII for dedicated PHY networking */
> >  	writel(BIT(6) | BIT(7), AST_IO(AST_BASE_SCU | 0x70));
>  }
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20161122/f8f08822/attachment.sig>


More information about the openbmc mailing list