diff options
| author | 2017-01-09 13:46:00 +0000 | |
|---|---|---|
| committer | 2017-01-12 10:00:30 +0200 | |
| commit | 08f37148b6a915a6996c7dbef87769b9efee2dba (patch) | |
| tree | 7779671975d52ece5ebda1f48a9bc4a7b2e408e4 /tools/perf/scripts/python/sctop.py | |
| parent | usb: dwc2: gadget: Fix DMA memory freeing (diff) | |
| download | wireguard-linux-08f37148b6a915a6996c7dbef87769b9efee2dba.tar.xz wireguard-linux-08f37148b6a915a6996c7dbef87769b9efee2dba.zip | |
usb: gadget: f_fs: Fix iterations on endpoints.
When zero endpoints are declared for a function, there is no endpoint
to disable, enable or free, so replace do...while loops with while loops.
Change pre-decrement to post-decrement to iterate the same number of times
when there are endpoints to process.
Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
