diff mbox

[U-Boot,05/17] arm: mvebu: spl.c: Remove useless gd declaration

Message ID aa5fb22baa523e8f4107546a6ff566c86ce0478b.1479913469.git.mario.six@gdsys.cc
State Accepted
Commit 3add68c9966e903a1a4b05acc54e4361ca81eae3
Delegated to: Stefan Roese
Headers show

Commit Message

Mario Six Nov. 23, 2016, 3:12 p.m. UTC
From: Reinhard Pfau <pfau@gdsys.de>

ddaa905 ("arm: mvebu: Add DM (driver model) support") removed the
assignment of the gd pointer, but kept the (now superfluous) declaration
of the gd pointer.

Remove this declaration.

Signed-off-by: Reinhard Pfau <pfau@gdsys.de>
Signed-off-by: Mario Six <mario.six@gdsys.cc>
---
 arch/arm/mach-mvebu/spl.c | 2 --
 1 file changed, 2 deletions(-)
diff mbox

Patch

diff --git a/arch/arm/mach-mvebu/spl.c b/arch/arm/mach-mvebu/spl.c
index e1c9cdb..3cf02a5 100644
--- a/arch/arm/mach-mvebu/spl.c
+++ b/arch/arm/mach-mvebu/spl.c
@@ -13,8 +13,6 @@ 
 #include <asm/arch/cpu.h>
 #include <asm/arch/soc.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 static u32 get_boot_device(void)
 {
 	u32 val;