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

Wolfgang Denk wd at denx.de
Sun Oct 9 22:51:11 CEST 2011


Dear Simon Glass,

In message <CAPnjgZ2okU0d5KzjHJnQar2Zi_8y0Fsp1pSkpCy5GSdeY1iPCg at mail.gmail.com> 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.

You are right - thanks for pointing out.  Fixed when checking in.

Best regards,

Wolfgang Denk

-- 
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
If I don't document something, it's usually either for a good reason,
or a bad reason.  In this case it's a good reason.  :-)
                 - Larry Wall in <1992Jan17.005405.16806 at netlabs.com>


More information about the U-Boot mailing list