[U-Boot] [PATCH] drivers/net/ne2000_base.c: Fix GCC 4.6 build warnings
Wolfgang Denk
wd at denx.de
Sat Dec 10 23:05:52 CET 2011
Dear Wolfgang Denk,
In message <1323379737-10882-1-git-send-email-wd at denx.de> you wrote:
> Fix:
> ne2000_base.c: In function 'dp83902a_send':
> ne2000_base.c:282:7: warning: variable 'tmp' set but not used
> [-Wunused-but-set-variable]
> ne2000_base.c: In function 'dp83902a_RxEvent':
> ne2000_base.c:376:5: warning: variable 'rsr' set but not used
> [-Wunused-but-set-variable]
> ne2000_base.c: In function 'dp83902a_TxEvent':
> ne2000_base.c:513:5: warning: variable 'tsr' set but not used
> [-Wunused-but-set-variable]
> ne2000_base.c: In function 'dp83902a_ClearCounters':
> ne2000_base.c:550:17: warning: variable 'cnt3' set but not used
> [-Wunused-but-set-variable]
> ne2000_base.c:550:11: warning: variable 'cnt2' set but not used
> [-Wunused-but-set-variable]
> ne2000_base.c:550:5: warning: variable 'cnt1' set but not used
> [-Wunused-but-set-variable]
>
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> ---
> drivers/net/ne2000_base.c | 9 +++++----
> 1 files changed, 5 insertions(+), 4 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
If some day we are defeated, well, war has its fortunes, good and
bad.
-- Commander Kor, "Errand of Mercy", stardate 3201.7
More information about the U-Boot
mailing list