diff options
author | Johannes Schneider <johannes.schneider@leica-geosystems.com> | 2025-06-29 11:04:14 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-07-07 11:05:10 +0200 |
commit | 6693750a6f8e5237233b96f6363a5afcbf498ad7 (patch) | |
tree | ec59c28fd7d862b7c02180e289ad5d59f174d7bd /tools/perf/scripts/python/stackcollapse.py | |
parent | 2b7eec2ec3015f52fc74cf45d0408925e984ecd1 (diff) |
usb: dwc3: gadget: Simplify TRB reclaim logic by removing redundant 'chain' argument
Now that the TRB reclaim logic always inspects the TRB's CHN (Chain) bit
directly to determine whether a TRB is part of a chain, the explicit
'chain' parameter passed into dwc3_gadget_ep_reclaim_completed_trb()
is no longer necessary.
This cleanup simplifies the reclaim code by avoiding duplication of
chain state tracking, and makes the reclaim logic rely entirely on the
hardware descriptor flags — which are already present and accurate at
this stage.
No functional changes intended.
Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
Link: https://lore.kernel.org/r/20250629090414.294308-2-johannes.schneider@leica-geosystems.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions