diff options
| author | Dan Carpenter <dan.carpenter@linaro.org> | 2025-06-25 10:21:53 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-06-28 17:24:17 +0200 |
| commit | e35a5d814525006f043b29bffd1bbdcb549b23c5 (patch) | |
| tree | f36ae34f9519151949fe493b4b351afe1bf04589 /tools/perf/scripts/python/bin | |
| parent | dt-bindings: usb: genesys,gl850g: add downstream facing ports (diff) | |
| download | linux-e35a5d814525006f043b29bffd1bbdcb549b23c5.tar.gz linux-e35a5d814525006f043b29bffd1bbdcb549b23c5.zip | |
usb: gadget: u_serial: remove some dead code
There is no need to check if "port" is NULL. We already verified that it
is non-NULL. It's a stack variable and can't be modified by a different
thread. Delete this dead code.
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Prashanth K <prashanth.k@oss.qualcomm.com>
Link: https://lore.kernel.org/r/685c1413.050a0220.1a8223.d0b9@mx.google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
