diff mbox

[U-Boot,v2,1/9] fdt_support: delete unnecessary DECLARE_GLOBAL_DATA_PTR

Message ID 1397810465-10006-2-git-send-email-yamada.m@jp.panasonic.com
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Masahiro Yamada April 18, 2014, 8:40 a.m. UTC
gd->bd is not used in fdt_support.c.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
---

Changes in v2: None

 common/fdt_support.c | 5 -----
 1 file changed, 5 deletions(-)

Comments

Simon Glass May 24, 2014, 1:16 a.m. UTC | #1
On 17 April 2014 22:40, Masahiro Yamada <yamada.m@jp.panasonic.com> wrote:
> gd->bd is not used in fdt_support.c.
>
> Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>

Acked-by: Simon Glass <sjg@chromium.org>
Tom Rini June 19, 2014, 3:20 p.m. UTC | #2
On Fri, Apr 18, 2014 at 05:40:57PM +0900, Masahiro Yamada wrote:

> gd->bd is not used in fdt_support.c.
> 
> Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
> Acked-by: Simon Glass <sjg@chromium.org>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/common/fdt_support.c b/common/fdt_support.c
index f9f358e..2464847 100644
--- a/common/fdt_support.c
+++ b/common/fdt_support.c
@@ -17,11 +17,6 @@ 
 #include <exports.h>
 
 /*
- * Global data (for the gd->bd)
- */
-DECLARE_GLOBAL_DATA_PTR;
-
-/*
  * Get cells len in bytes
  *     if #NNNN-cells property is 2 then len is 8
  *     otherwise len is 4