summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-03-05 12:15:11 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-03-11 15:14:35 +0100
commit9b91cafe8084d83c14d0303fc5897c4ff43122c0 (patch)
tree3e1e1bf887c2859372d32cde553eeb257f81a67d /scripts/stackusage
parent58221c728d087ece9671d4d9f6fd0a321531d2de (diff)
USB: usbsevseg: 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/20260305111511.18386-6-johan@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions