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

Joel Stanley joel at jms.id.au
Tue Nov 22 15:08:49 AEDT 2016


Signed-off-by: Joel Stanley <joel at jms.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));
 }
-- 
2.10.2



More information about the openbmc mailing list