[U-Boot] [PATCH 1/7] arch/arm/lib/board.c: fix warning: variable ... set but not used

2011-10-05 Thread Wolfgang Denk
Fix: board.c:445:8: warning: variable 'bd' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk Cc: Albert ARIBAUD --- arch/arm/lib/board.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c index 705d4d2..

Re: [U-Boot] [PATCH 1/7] arch/arm/lib/board.c: fix warning: variable ... set but not used

2011-10-07 Thread Simon Glass
Hi Wolfgang, On Wed, Oct 5, 2011 at 2:17 PM, Wolfgang Denk wrote: > Fix: > board.c:445:8: warning: variable 'bd' set but not used > [-Wunused-but-set-variable] > > Signed-off-by: Wolfgang Denk > Cc: Albert ARIBAUD > --- >  arch/arm/lib/board.c |    2 -- >  1 files changed, 0 insertions(+), 2 d

Re: [U-Boot] [PATCH 1/7] arch/arm/lib/board.c: fix warning: variable ... set but not used

2011-10-09 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1317849453-8216-1-git-send-email...@denx.de> you wrote: > Fix: > board.c:445:8: warning: variable 'bd' set but not used > [-Wunused-but-set-variable] > > Signed-off-by: Wolfgang Denk > Cc: Albert ARIBAUD > --- > arch/arm/lib/board.c |2 -- > 1 files changed

Re: [U-Boot] [PATCH 1/7] arch/arm/lib/board.c: fix warning: variable ... set but not used

2011-10-09 Thread Wolfgang Denk
Dear Simon Glass, In message you wrote: > > Sorry if I have missed a mailing list patch, but in my version of the > source there is a line a little lower down which uses bd: > >mmc_initialize(bd); > > Of course it can just become gd->bd so there is no problem removing > the variable.