diff options
| author | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-08-11 12:26:59 +0300 |
|---|---|---|
| committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-08-22 10:45:37 +0300 |
| commit | 45438a0cd9c2b80917047b77fab1ff46cf710748 (patch) | |
| tree | de255789b4e139a4c8f93b5e64181f012c7505b9 /tools/perf/scripts/python/bin | |
| parent | usb: dwc3: gadget: increment dequeue pointer on completion (diff) | |
| download | linux-45438a0cd9c2b80917047b77fab1ff46cf710748.tar.gz linux-45438a0cd9c2b80917047b77fab1ff46cf710748.zip | |
usb: dwc3: gadget: simplify dwc3_ep_prev_trb()
We always need to decrement our index by at least
one. Simplify the implementation by using a
temporary local variable and making sure that we
will always decrement one extra if tmp == 0.
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
