[U-Boot] [PATCH 1/5] GCC4.6: Squash warnings in common/usb.c

Wolfgang Denk wd at denx.de
Thu Oct 27 23:58:43 CEST 2011


Dear Marek Vasut,

In message <1319535558-20782-2-git-send-email-marek.vasut at gmail.com> you wrote:
> usb.c: In function ‘usb_parse_config’:
> usb.c:331:17: warning: variable ‘ch’ set but not used
> [-Wunused-but-set-variable]
> usb.c: In function ‘usb_hub_port_connect_change’:
> usb.c:1123:29: warning: variable ‘portchange’ set but not used
> [-Wunused-but-set-variable]
> usb.c: In function ‘usb_hub_configure’:
> usb.c:1183:25: warning: variable ‘hubsts’ set but not used
> [-Wunused-but-set-variable]
> 
> Signed-off-by: Marek Vasut <marek.vasut at gmail.com>
> Cc: Wolfgang Denk <wd at denx.de>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Mike Frysinger <vapier at gentoo.org>
> ---
>  common/usb.c |   21 +++++++--------------
>  1 files changed, 7 insertions(+), 14 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
"Life, loathe it or ignore it, you can't like it."
- Marvin the paranoid android


More information about the U-Boot mailing list