diff options
| author | Colin Ian King <colin.i.king@gmail.com> | 2024-02-07 12:03:19 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-02-17 16:43:27 +0100 |
| commit | 50c72a46eb41404d6b019532469639a8c26ca026 (patch) | |
| tree | b36027372f7fd4c68aa761e3d86ad96c59f41065 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | usb: dwc3: gadget: Rewrite endpoint allocation flow (diff) | |
| download | linux-50c72a46eb41404d6b019532469639a8c26ca026.tar.gz linux-50c72a46eb41404d6b019532469639a8c26ca026.zip | |
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 <colin.i.king@gmail.com>
Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/20240207120319.2445123-1-colin.i.king@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
