diff options
| author | Johan Hovold <johan@kernel.org> | 2026-03-05 12:15:09 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-03-11 15:14:35 +0100 |
| commit | 9970f8388642410354d6e4e783c655a50fba8ca6 (patch) | |
| tree | c91f48446b88819f97e3ad4ded3e7e281721c984 /scripts/stackusage | |
| parent | bb49af3c56a60af57abdd5e6c753da87d30306fe (diff) | |
USB: ljca: drop redundant interface reference
Driver core holds a reference to the USB interface while it is bound to
a driver and there is no need to take another reference unless the
interface is needed after disconnect.
Drop the redundant interface reference to reduce cargo culting, make it
easier to spot drivers where an extra reference is needed, and reduce
the risk of memory leaks when drivers fail to release it.
Signed-off-by: Johan Hovold <johan@kernel.org>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Link: https://patch.msgid.link/20260305111511.18386-4-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
