diff options
| author | Johan Hovold <johan@kernel.org> | 2026-06-23 17:08:21 +0200 |
|---|---|---|
| committer | Johan Hovold <johan@kernel.org> | 2026-07-13 10:09:19 +0200 |
| commit | 58ef164543a4b7b0d4b704989fc580d1260fc058 (patch) | |
| tree | 235dd6e02aff8134a54657c9fa17517104d5df09 /include/linux/debugobjects.h | |
| parent | dc2723aab475ebdfa51608670617ef51f71b94e1 (diff) | |
USB: serial: digi_acceleport: drop redundant driver data sanity checks
The urb context pointer does not change while an urb is in flight so
there is never a need to check for NULL on completion.
The port driver data is not freed until the port is unbound at which
point all I/O for that port has been stopped (and I/O is no longer
started for a port that has not yet been probed).
The device driver data is not freed until after the driver has been
unbound and at which point all I/O has also ceased.
Drop the redundant, overly defensive (and still incomplete) sanity
checks from the completion callbacks.
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
