From 3add68c9966e903a1a4b05acc54e4361ca81eae3 Mon Sep 17 00:00:00 2001 From: Reinhard Pfau <pfau@gdsys.de> Date: Wed, 11 Jan 2017 16:00:48 +0100 Subject: [PATCH] arm: mvebu: spl.c: Remove useless gd declaration 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 | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/mach-mvebu/spl.c b/arch/arm/mach-mvebu/spl.c index e1c9cdba504..3cf02a54cea 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; -- GitLab