From 0613c57ce306722bb79637ffffc685c9acf35a7f Mon Sep 17 00:00:00 2001
From: Masahiro Yamada <yamada.m@jp.panasonic.com>
Date: Fri, 18 Apr 2014 17:40:57 +0900
Subject: [PATCH] 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>
---
 common/fdt_support.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/common/fdt_support.c b/common/fdt_support.c
index c6907685720..3c4edc4837d 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
-- 
GitLab