[U-Boot] [PATCH 05/17] arm: mvebu: spl.c: Remove useless gd declaration
Mario Six
mario.six at gdsys.cc
Wed Nov 23 16:12:23 CET 2016
From: Reinhard Pfau <pfau at 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 at gdsys.de>
Signed-off-by: Mario Six <mario.six at gdsys.cc>
---
arch/arm/mach-mvebu/spl.c | 2 --
1 file changed, 2 deletions(-)
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;
--
2.9.0
More information about the U-Boot
mailing list