arm: mvebu: spl.c: Remove useless gd declaration
authorReinhard Pfau <pfau@gdsys.de>
Wed, 11 Jan 2017 15:00:48 +0000 (16:00 +0100)
committerStefan Roese <sr@denx.de>
Wed, 1 Feb 2017 08:02:49 +0000 (09:02 +0100)
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>
Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
arch/arm/mach-mvebu/spl.c

index e1c9cdba5041b5c1a2b90a947d608aa5090979c4..3cf02a54cea2664423c5e7c669ccb6228756c76d 100644 (file)
@@ -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;