From: Mario Six Date: Wed, 11 Jan 2017 16:00:48 +0100 Subject: [U-Boot] [PATCH v2 04/18] arm: mvebu: spl.c: Remove useless gd declaration In-Reply-To: <20170111150102.7399-1-mario.six@gdsys.cc> References: <20170111150102.7399-1-mario.six@gdsys.cc> Message-ID: <20170111150102.7399-5-mario.six@gdsys.cc> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Reinhard Pfau 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 --- 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 #include -DECLARE_GLOBAL_DATA_PTR; - static u32 get_boot_device(void) { u32 val; -- 2.9.0