[U-Boot-Users] [PATCH] fdt: suppress unused variable 'bd' warning

Kim Phillips kim.phillips at freescale.com
Thu Aug 16 05:29:56 CEST 2007


Signed-off-by: Kim Phillips <kim.phillips at freescale.com>
---
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(-)

diff --git a/common/fdt_support.c b/common/fdt_support.c
index caaa682..175d59e 100644
--- a/common/fdt_support.c
+++ b/common/fdt_support.c
@@ -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 */
-- 
1.5.2.2





More information about the U-Boot mailing list