driver/mmc: fix compile warnings
authorPrabhakar Kushwaha <prabhakar@freescale.com>
Mon, 31 Mar 2014 10:02:03 +0000 (15:32 +0530)
committerYork Sun <yorksun@freescale.com>
Wed, 23 Apr 2014 00:58:48 +0000 (17:58 -0700)
commit613ab32c4783fcd70bd13125bdd59ad6cb18c1cc
treef80f19ea238516a861addcd547d805db933ba15e
parentc3678b0937a0543280067fd8e08e6e2d278d90e2
driver/mmc: fix compile warnings

Fix following compile warnings
fsl_esdhc_spl.c: In function 'mmc_boot':
fsl_esdhc_spl.c:35:10: warning: unused variable 'byte_num' [-Wunused-variable]
fsl_esdhc_spl.c:35:7: warning: unused variable 'i' [-Wunused-variable]
fsl_esdhc_spl.c:34:8: warning: unused variable 'val' [-Wunused-variable]
fsl_esdhc_spl.c:33:6: warning: unused variable 'blklen' [-Wunused-variable]
fsl_esdhc_spl.c:105:7: warning: 'tmp_buf' may be used uninitialized in this
function [-Wuninitialized]

Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
drivers/mmc/fsl_esdhc_spl.c