]> git.sur5r.net Git - u-boot/commit
sc520: fix build warning about unused temp var
authorMike Frysinger <vapier@gentoo.org>
Mon, 5 Mar 2012 11:55:32 +0000 (11:55 +0000)
committerGraeme Russ <graeme.russ@gmail.com>
Tue, 6 Mar 2012 10:05:18 +0000 (21:05 +1100)
commitae806cc6ab86c911180e7da253d847843c079608
tree25f275bec15bad79c9289773c79fe9a92b71bc2d
parentfca94c3fd5deef33442813475a5af1650f2d2830
sc520: fix build warning about unused temp var

Building the eNET_SRAM board fails for me:
sc520_timer.c: In function 'sc520_udelay':
sc520_timer.c:81:7: error: variable 'temp' set but not used
[-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
make[1]: *** [sc520_timer.o] Error 1

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/x86/cpu/sc520/sc520_timer.c