freescale: m5253demo: fix unused-but-set-variable warnings
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Tue, 15 Apr 2014 04:26:34 +0000 (13:26 +0900)
committerTom Rini <trini@ti.com>
Thu, 19 Jun 2014 15:18:43 +0000 (11:18 -0400)
commite6af3859896436b643ddbae58979b89d5b2815ca
tree366a6bd6eaf5c0e794837589d6fe5b64032f9071
parentaf67b25250e5dd636a844d869bba8ce698422145
freescale: m5253demo: fix unused-but-set-variable warnings

Fix the following warning messages:

In function 'flash_erase': 180:21:
warning: variable 'last' set but not used [-Wunused-but-set-variable]
In function 'write_buff':  322:10:
warning: variable 'port_width' set but not used [-Wunused-but-set-variable]

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
board/freescale/m5253demo/flash.c