Re: [U-Boot] [PATCH 08/10] board/mx1ads/syncflash.c: Fix GCC 4.6 warnings

2011-11-22 Thread Heiko Schocher
Hello Anatolij, Anatolij Gustschin wrote: > Fix: > syncflash.c: In function 'SF_SR': > syncflash.c:60:10: warning: variable 'tmp1' set but not used > [-Wunused-but-set-variable] > syncflash.c: In function 'SF_PrechargeAll': > syncflash.c:96:6: warning: variable 'tmp' set but not used > [-Wunused-b

[U-Boot] [PATCH 08/10] board/mx1ads/syncflash.c: Fix GCC 4.6 warnings

2011-11-19 Thread Anatolij Gustschin
Fix: syncflash.c: In function 'SF_SR': syncflash.c:60:10: warning: variable 'tmp1' set but not used [-Wunused-but-set-variable] syncflash.c: In function 'SF_PrechargeAll': syncflash.c:96:6: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] mx1ads.c: In function 'board_early_init_