[U-Boot] [PATCH] net: designware: fix unused warning when CONFIG_DW_AUTONEG is enabled
Wolfgang Denk
wd at denx.de
Mon Jul 25 22:20:00 CEST 2011
Dear Mike Frysinger,
In message <1307027978-13418-1-git-send-email-vapier at gentoo.org> you wrote:
> The ctrl variable is only used when autoneg support is disabled, so only
> declare it under those conditions to avoid an unused variable warning.
>
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> ---
> drivers/net/designware.c | 4 +++-
> 1 files changed, 3 insertions(+), 1 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
"No proper program contains an indication which as an operator-
applied occurrence identifies an operator-defining occurrence which
as an indication-applied occurrence identifies an indication-defining
occurrence different from the one identified by the given indication
as an indication-applied occurrence." - ALGOL 68 Report
More information about the U-Boot
mailing list