summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-03-05 14:10:19 +0300
committerJakub Kicinski <kuba@kernel.org>2026-03-07 05:57:42 +0300
commit1a2d4bfa04919c2e1676b756ccc21dd8e22d3838 (patch)
tree6974e42a9cbecb315d054d7cf5143c1e78def252 /scripts/basic
parent6c7f710325228a54a364ae433acd8779c2fc2bcf (diff)
downloadlinux-1a2d4bfa04919c2e1676b756ccc21dd8e22d3838.tar.xz
nfc: port100: 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> Link: https://patch.msgid.link/20260305111019.18030-3-johan@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions