]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
usb: dwc2: simplify wait_for_chhltd
authorStephen Warren <swarren@wwwdotorg.org>
Sun, 8 Mar 2015 05:48:55 +0000 (22:48 -0700)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 19:47:07 +0000 (21:47 +0200)
commit9a8075447a5d5855a9e932a51df6d2fbc0cf392c
treefbfc44dd7a32b9c432896c249b2484514b1a90e8
parent2bc50b8d9ff931ea01e7359318a8f84832642332
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