diff options
| author | Johan Hovold <johan@kernel.org> | 2026-03-05 11:39:16 +0100 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2026-03-17 14:43:57 +0100 |
| commit | 88796a18f20f0a9d9ffccecb3be3d37dfa3391d6 (patch) | |
| tree | 5522837153d507c1afb7e027683609c30dbc3cd8 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 50acaad3d202c064779db8dc3d010007347f59c7 (diff) | |
media: imon: drop redundant device references
Driver core holds a reference to the USB interface and its parent USB
device while the interface is bound to a driver and there is no need to
take additional references unless the structures are needed after
disconnect.
Drop the redundant device references to reduce cargo culting, make it
easier to spot drivers where extra references are needed, and reduce the
risk of memory leaks when drivers fail to release them.
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
