diff mbox series

simple-bus: remove DECLARE_GLOBAL_DATA_PTR

Message ID 1508229434-14853-1-git-send-email-yamada.masahiro@socionext.com
State Accepted
Commit 3d569a807e17b146731c37db0cf21125134dee23
Headers show
Series simple-bus: remove DECLARE_GLOBAL_DATA_PTR | expand

Commit Message

Masahiro Yamada Oct. 17, 2017, 8:37 a.m. UTC
No global pointer is used in this file.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 drivers/core/simple-bus.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Bin Meng Oct. 17, 2017, 9:38 a.m. UTC | #1
On Tue, Oct 17, 2017 at 4:37 PM, Masahiro Yamada
<yamada.masahiro@socionext.com> wrote:
> No global pointer is used in this file.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---
>
>  drivers/core/simple-bus.c | 2 --
>  1 file changed, 2 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tom Rini Oct. 24, 2017, 6:14 p.m. UTC | #2
On Tue, Oct 17, 2017 at 05:37:14PM +0900, Masahiro Yamada wrote:

> 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>


Applied to u-boot/master, thanks!

-- 
Tom
diff mbox series

Patch

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;