[U-Boot] [PATCH 02/12] drivers/mtd/dataflash.c: Fix GCC 4.6 warning

Wolfgang Denk wd at denx.de
Wed Nov 16 21:28:41 CET 2011


Dear Anatolij Gustschin,

In message <1321399263-13826-3-git-send-email-agust at denx.de> you wrote:
> Fix:
> dataflash.c: In function 'AT91F_DataflashInit':
> dataflash.c:42:6: warning: variable 'last_part' set but not used
> [-Wunused-but-set-variable]
> 
> Signed-off-by: Anatolij Gustschin <agust at denx.de>
> ---
>  drivers/mtd/dataflash.c |    3 ---
>  1 files changed, 0 insertions(+), 3 deletions(-)

Applied, thanks.

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
Perfection is reached, not when there is no longer anything  to  add,
but when there is no longer anything to take away.
                                           - Antoine de Saint-Exupery


More information about the U-Boot mailing list