summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-03-05 14:38:51 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-03-18 15:51:44 +0100
commita1678c4e57e0004a94363127309fcc8b388f11ba (patch)
treee3a4ca62bba1523dd5b1b5864eabb47ed2c319cd /include/linux/debugobjects.h
parent0888c3371ad229ce76675754ce43ae04bb4945e1 (diff)
USB: usbip: drop redundant device reference
Driver core holds a reference to the USB device while it is bound to a driver and there is no need to take additional references unless the structure is 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/20260305133851.2952-3-johan@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions