From: Masahiro Yamada <yamada.m@jp.panasonic.com>
Date: Fri, 18 Apr 2014 08:40:57 +0000 (+0900)
Subject: fdt_support: delete unnecessary DECLARE_GLOBAL_DATA_PTR
X-Git-Tag: v2025.01-rc5-pxa1908~15183
X-Git-Url: http://git.dujemihanovic.xyz/html/static/git-favicon.png?a=commitdiff_plain;h=0613c57ce306722bb79637ffffc685c9acf35a7f;p=u-boot.git

fdt_support: delete unnecessary DECLARE_GLOBAL_DATA_PTR

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

diff --git a/common/fdt_support.c b/common/fdt_support.c
index c690768572..3c4edc4837 100644
--- a/common/fdt_support.c
+++ b/common/fdt_support.c
@@ -16,11 +16,6 @@
 #include <fdt_support.h>
 #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