summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-03-09 11:26:41 +0300
committerJakub Kicinski <kuba@kernel.org>2026-03-11 05:53:19 +0300
commit1a6ca6497a40f5c7795575a35f0da7d013b79bdd (patch)
treecadd1c25b208db59514bc1a4c196d9233493ecb9 /include/linux
parent07f56c8f54118cdbe33d566d9d4cc537c87d9202 (diff)
downloadlinux-1a6ca6497a40f5c7795575a35f0da7d013b79bdd.tar.xz
net: mdio: mvusb: 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> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20260309082641.15574-1-johan@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions