diff options
author | Niklas Neronin <[email protected]> | 2024-09-05 17:32:58 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-09-05 16:39:22 +0200 |
commit | da6a6dcfce61f765d5a77688f4a813deb410762e (patch) | |
tree | 645b1cf3b0dfef4d5ef3faeeb8d7c81a195c2c32 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | dbb2c9229da2393086da235d4ced560dabe463ea (diff) |
usb: xhci: adjust empty TD list handling in handle_tx_event()
Introduce an initial check for an empty list prior to entering the while
loop. Which enables, the implementation of distinct warnings to
differentiate between scenarios where the list is initially empty and
when it has been emptied during processing skipped isoc TDs.
These adjustments not only simplifies the large while loop, but also
facilitates future enhancements to the handle_tx_event() function.
Signed-off-by: Niklas Neronin <[email protected]>
Signed-off-by: Mathias Nyman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions