diff options
author | Colin Ian King <[email protected]> | 2024-02-07 12:03:19 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-02-17 16:43:27 +0100 |
commit | 50c72a46eb41404d6b019532469639a8c26ca026 (patch) | |
tree | b36027372f7fd4c68aa761e3d86ad96c59f41065 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | b311048c174da893f47fc09439bc1f6fa2a29589 (diff) |
usb: dwc3: gadget: Remove redundant assignment to pointer trb
The pointer trb is being assigned a value that is not being
read afterwards, it is being re-assigned later inside a for_each_sg
loop. The assignment is redundant and can be removed.
Cleans up clang scan warning:
drivers/usb/dwc3/gadget.c:3432:19: warning: Value stored to 'trb'
during its initialization is never read [deadcode.DeadStores]
Signed-off-by: Colin Ian King <[email protected]>
Acked-by: Thinh Nguyen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions