From 3d569a807e17b146731c37db0cf21125134dee23 Mon Sep 17 00:00:00 2001
From: Masahiro Yamada <yamada.masahiro@socionext.com>
Date: Tue, 17 Oct 2017 17:37:14 +0900
Subject: [PATCH] simple-bus: remove DECLARE_GLOBAL_DATA_PTR

No global pointer is used in this file.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
---
 drivers/core/simple-bus.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/core/simple-bus.c b/drivers/core/simple-bus.c
index 14803e32b12..5acfa5f0e49 100644
--- a/drivers/core/simple-bus.c
+++ b/drivers/core/simple-bus.c
@@ -7,8 +7,6 @@
 #include <common.h>
 #include <dm.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 struct simple_bus_plat {
 	u32 base;
 	u32 size;
-- 
GitLab