diff options
| author | Pratyush Anand <[email protected]> | 2012-06-23 02:23:08 +0530 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2012-06-25 13:59:26 +0300 |
| commit | 3daf74d78dfcd552445c35f1b82a271ca305ceb9 (patch) | |
| tree | 6d0ebe71a84bacb601324922e210af1fb9bbff11 /tools/perf/scripts/python | |
| parent | 58a0f23fddd0a71d8fa22e6ef7627298a8ed29a6 (diff) | |
usb: dwc3: remove WARN_ON from dwc_stop_active_transfer
Now we are sure that, if res_trans_idx is zero, then endpoint has been
stopped. So it's safe to just return if endpoint is already stopped. No
need to generate warning anymore.
While doing so, it's better to return when res_trans_idx is zero and
decrease one level of indentation.
Signed-off-by: Pratyush Anand <[email protected]>
[ [email protected]: slightly changed commit log ]
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions