summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-03-05 11:39:18 +0100
committerHans Verkuil <hverkuil+cisco@kernel.org>2026-03-16 16:30:20 +0100
commit64f47fca95c307c569adb7fec48ffc2891e3b209 (patch)
treef87155c12957e822078f327aca650df2d2cd3af8 /tools/perf/scripts/python
parentf8e1fc918a9fe67103bcda01d20d745f264d00a7 (diff)
media: go7007-loader: drop redundant device reference
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 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> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions