[U-Boot] [PATCH] davinci, mmc: fix gcc 4.6 build warnings

Wolfgang Denk wd at denx.de
Wed Nov 16 20:51:58 CET 2011


Dear Heiko Schocher,

In message <1320038153-24364-1-git-send-email-hs at denx.de> you wrote:
> Fix:
> davinci_mmc.c: In function 'dmmc_wait_fifo_status':
> davinci_mmc.c:72:7: warning: variable 'mmcstatus1' set but not used [-Wunused-but-set-variable]
> davinci_mmc.c: In function 'dmmc_busy_wait':
> davinci_mmc.c:89:7: warning: variable 'mmcstatus1' set but not used [-Wunused-but-set-variable]
> 
> Delete the unused variable.
> 
> Signed-off-by: Heiko Schocher <hs at denx.de>
> Cc: Sandeep Paulraj <s-paulraj at ti.com>
> Cc: Albert ARIBAUD <albert.u.boot at aribaud.net>
> ---
>  drivers/mmc/davinci_mmc.c |    7 +++----
>  1 files changed, 3 insertions(+), 4 deletions(-)

Applied, thanks.

Sandeep, Albert: hope this is OK with you.

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
There are three ways to get something done:
        (1) Do it yourself.
        (2) Hire someone to do it for you.
        (3) Forbid your kids to do it.


More information about the U-Boot mailing list