]> git.dujemihanovic.xyz Git - u-boot.git/commit
common/usb.c: fix warning: variable ... set but not used
authorWolfgang Denk <wd@denx.de>
Wed, 5 Oct 2011 21:11:19 +0000 (23:11 +0200)
committerWolfgang Denk <wd@denx.de>
Sun, 9 Oct 2011 21:24:50 +0000 (23:24 +0200)
commitfad2e1b06c12184a3273d52e6f6620b830c389e8
tree053185c4fcf7c741f5078514102ae281c6390c63
parent6bc52ef35c0eee8a6b74f01bbea0471ad39421a1
common/usb.c: fix warning: variable ... set but not used

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@denx.de>
Cc: Remy Bohmer <linux@bohmer.net>
Acked-by: Remy Bohmer <linux@bohmer.net>
common/usb.c