Skip to contentSkip to conversation

fdt: suppress unused variable 'bd' warning

PATCH New Kim Phillips 3 participants 3 messages Aug 16, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fdt: suppress unused variable 'bd' warning

---
gvb, please apply, in addition to:

"fdt: remove unused OF_FLAT_TREE_MAX_SIZE references" sent Fri, 10 Aug 2007 14:34:14 -0500

Thanks, Kim.

 common/fdt_support.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
common/fdt_support.c +0 -1
index caaa682..175d59e 100644
@@ -46,7 +46,6 @@ struct fdt_header *fdt;
 
 int fdt_chosen(void *fdt, ulong initrd_start, ulong initrd_end, int force)
 {
-	bd_t *bd = gd->bd;
 	int   nodeoffset;
 	int   err;
 	u32   tmp;		/* used to set 32 bit integer properties */
Signature · 1 line
1.5.2.2
#1 lore raw

PATCH 1/1 fdt: suppress unused variable 'bd' warning

Quoted 3 lines · In message <[email protected]> you wrote:

---
gvb, please apply, in addition to:

I took this one directly, as it's an obvious fix. Thanks. Applied.

Best regards,

Wolfgang Denk

Signature · 8 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The only solution is ... a balance of power. We  arm  our  side  with
exactly  that  much  more.  A balance of power -- the trickiest, most
difficult, dirtiest game of them all. But the only one that preserves
both sides.
	-- Kirk, "A Private Little War", stardate 4211.8
#2 lore raw

PATCH 1/1 fdt: suppress unused variable 'bd' warning

In reply to Kim Phillips
Quoted 3 lines · Kim Phillips

---
gvb, please apply, in addition to:

Wolfgang beat me to it, thanks.

Quoted 2 lines

"fdt: remove unused OF_FLAT_TREE_MAX_SIZE references" sent Fri, 10 Aug 2007 14:34:14 -0500

Oooo, I forgot that one. :-( Thanks for the reminder, I'll apply it.
Ref: <http://article.gmane.org/gmane.comp.boot-loaders.u-boot/30889>

Quoted 1 line

Thanks, Kim.

...and thank /you/ for your series on 83xx throwing the LIBFDT switch. :-)

Best regards,
gvb