]> git.baikalelectronics.ru Git - uboot.git/commit
usb: Correct use of debug()
authorSimon Glass <sjg@chromium.org>
Mon, 4 Dec 2017 20:48:22 +0000 (13:48 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 7 Dec 2017 20:17:00 +0000 (15:17 -0500)
commitd37ba5793f9ac9c15749d26d279a26e779429832
tree14e947ae0b0104f05663841916e19f72a546dde0
parent1d8d7796ba26b258fa5c1ffe21c772302d0920ec
usb: Correct use of debug()

With clang this gives a warning because hubsts appears to be used before
it is set, even if ultimately it is not used. Simplify the code to avoid
this problem.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/usb_hub.c