]> git.dujemihanovic.xyz Git - u-boot.git/commit
GCC4.6: Squash warnings in common/usb.c
authorMarek Vasut <marek.vasut@gmail.com>
Tue, 25 Oct 2011 09:39:14 +0000 (11:39 +0200)
committerWolfgang Denk <wd@denx.de>
Thu, 27 Oct 2011 21:54:03 +0000 (23:54 +0200)
commit88ec8c1246bd13a9620a97b0007ca4162fcf5197
tree2192a1b6e32d51b8e7580a2425fa58e669e26a62
parent25a8c4f5978416c89fe6901b491ef70bf162fccb
GCC4.6: Squash warnings in common/usb.c

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@gmail.com>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Mike Frysinger <vapier@gentoo.org>
common/usb.c