Re: [U-Boot] [PATCH 02/13] drivers/net/at91_emac.c: Fix GCC 4.6 build warnings

2011-12-10 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1323429272-26801-3-git-send-email...@denx.de> you wrote: > Fix: > at91_emac.c: In function 'at91emac_phy_init': > at91_emac.c:244:20: warning: variable 'duplex' set but not used > [-Wunused-but-set-variable] > at91_emac.c:244:13: warning: variable 'speed' set but no

[U-Boot] [PATCH 02/13] drivers/net/at91_emac.c: Fix GCC 4.6 build warnings

2011-12-09 Thread Wolfgang Denk
Fix: at91_emac.c: In function 'at91emac_phy_init': at91_emac.c:244:20: warning: variable 'duplex' set but not used [-Wunused-but-set-variable] at91_emac.c:244:13: warning: variable 'speed' set but not used [-Wunused-but-set-variable] Use new debug_cond() to fix these warnings. In the result, anum