[U-Boot] [PATCH 7/7] common/usb.c: fix warning: variable ... set but not used
Remy Bohmer
linux at bohmer.net
Sat Oct 8 19:57:38 CEST 2011
Hi,
2011/10/5 Wolfgang Denk <wd at denx.de>:
> Fix:
> 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: Wolfgang Denk <wd at denx.de>
> Cc: Remy Bohmer <linux at bohmer.net>
> ---
> common/usb.c | 20 +++++++++++++-------
> 1 files changed, 13 insertions(+), 7 deletions(-)
>
Acked-by: Remy Bohmer <linux at bohmer.net>
Kind regards,
Remy
More information about the U-Boot
mailing list