[U-Boot] [PATCH] simple-bus: remove DECLARE_GLOBAL_DATA_PTR

Masahiro Yamada yamada.masahiro at socionext.com
Tue Oct 17 08:37:14 UTC 2017


No global pointer is used in this file.

Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.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 14803e3..5acfa5f 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;
-- 
2.7.4



More information about the U-Boot mailing list