]> git.sur5r.net Git - u-boot/commit
usb: dwc2: simplify wait_for_chhltd
authorStephen Warren <swarren@wwwdotorg.org>
Sun, 8 Mar 2015 05:48:55 +0000 (22:48 -0700)
committerMarek Vasut <marex@denx.de>
Tue, 14 Apr 2015 03:47:58 +0000 (05:47 +0200)
commit66ffc87586e04d09f259bbca74f05b156d4cc96f
tree69db99e383d818a9a39c5832a6d54f30f61c0755
parent282685e07e4f5dccc70c6bfd3ce3603861e94aaa
usb: dwc2: simplify wait_for_chhltd

toggle is never NULL. Simplify the code by removing handling of when it
is NULL.

Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
drivers/usb/host/dwc2.c