[U-Boot] [PATCH] board/esd/cpci750/mv_eth.c: Fix GCC 4.6 build warnings
Wolfgang Denk
wd at denx.de
Tue Dec 20 23:20:36 CET 2011
Dear Anatolij Gustschin,
In message <1324394205-30000-1-git-send-email-agust at denx.de> you wrote:
> Fix:
> mv_eth.c: In function 'mv64360_eth_real_open':
> mv_eth.c:425:6: warning: variable 'port_status' set but not used [-Wunused-but-set-variable]
> mv_eth.c: In function 'mv64360_eth_stop':
> mv_eth.c:643:15: warning: variable 'port_num' set but not used [-Wunused-but-set-variable]
> mv_eth.c: In function 'mv64360_eth_xmit':
> mv_eth.c:719:15: warning: variable 'port_num' set but not used [-Wunused-but-set-variable]
> mv_eth.c: In function 'mv64360_eth_receive':
> mv_eth.c:804:15: warning: variable 'port_num' set but not used [-Wunused-but-set-variable]
> mv_eth.c: In function 'mv64360_eth_get_stats':
> mv_eth.c:903:15: warning: variable 'port_num' set but not used [-Wunused-but-set-variable]
> mv_eth.c: In function 'mv64360_eth_update_stat':
> mv_eth.c:931:24: warning: variable 'dummy' set but not used [-Wunused-but-set-variable]
> mv_eth.c:930:15: warning: variable 'port_num' set but not used [-Wunused-but-set-variable]
> mv_eth.c: In function 'mv64360_eth_print_stat':
> mv_eth.c:1012:15: warning: variable 'port_num' set but not used [-Wunused-but-set-variable]
> mv_eth.c: In function 'eth_clear_mib_counters':
> mv_eth.c:2069:15: warning: variable 'dummy' set but not used [-Wunused-but-set-variable
>
> Signed-off-by: Anatolij Gustschin <agust at denx.de>
> Cc: Reinhard Arlt <reinhard.arlt at esd.eu>
> ---
> board/esd/cpci750/mv_eth.c | 34 +++++++---------------------------
> 1 files changed, 7 insertions(+), 27 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
Name one thing windows is better than unix in?
Making money for Microsoft?
-- Randal L. Schwartz in <8cvi5t4c3t.fsf at gadget.cscaper.com>
More information about the U-Boot
mailing list