[U-Boot] [PATCH v2 04/18] arm: mvebu: spl.c: Remove useless gd declaration
Mario Six
mario.six at gdsys.cc
Wed Jan 11 16:00:48 CET 2017
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>
---
Changes in v2:
None
---
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