diff options
author | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-05-23 13:53:34 +0300 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-06-20 12:32:40 +0300 |
commit | f6bb225bb3ca7988ff373c62cc298e56cae1eee5 (patch) | |
tree | 0a349c83a4e98f1bda5d7c3eec20efd033867514 /drivers/pnp | |
parent | ba1598410eff646e10be4e42d773e5bdc511d898 (diff) |
usb: dwc3: gadget: loop while (timeout)
instead of having infinite loop and always checking
timeout value as a break condition, we can just
decrement timeout inside while's condition.
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/pnp')
0 files changed, 0 insertions, 0 deletions