]> git.sur5r.net Git - u-boot/commit
davinci, mmc: fix gcc 4.6 build warnings
authorHeiko Schocher <hs@denx.de>
Sun, 30 Oct 2011 19:15:53 +0000 (19:15 +0000)
committerWolfgang Denk <wd@denx.de>
Wed, 16 Nov 2011 19:51:14 +0000 (20:51 +0100)
commit79b05d59ade88a87a7d8a314f1ef4049b6cdde1d
treee4e6ecd7dd2e2a92e3228c0cf6736de903be6ea0
parent69de63e1f23e1529bfe0c3f0327d9c9272f3b9a8
davinci, mmc: fix gcc 4.6 build warnings

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@denx.de>
Cc: Sandeep Paulraj <s-paulraj@ti.com>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
drivers/mmc/davinci_mmc.c