summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-03-05 13:43:13 +0300
committerJakub Kicinski <kuba@kernel.org>2026-03-24 03:35:28 +0300
commit4e9b1994a105fefe558b245f2076a70cc6b498a9 (patch)
tree8d1ee0de4c3bf5aa8e0fcccee188676764e5ba04 /include/linux
parentad6b67ffd2e8d53e5c306ce74b6f0d23b430df8a (diff)
downloadlinux-4e9b1994a105fefe558b245f2076a70cc6b498a9.tar.xz
ieee802154: atusb: 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: Miquel Raynal <miquel.raynal@bootlin.com> Acked-by: Stefan Schmidt <stefan@datenfreihafen.org> Link: https://patch.msgid.link/20260305104313.15898-1-johan@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions