summaryrefslogtreecommitdiff
path: root/include/linux/rseq.h
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-03-05 12:18:10 +0100
committerTakashi Iwai <tiwai@suse.de>2026-03-05 14:00:55 +0100
commit3d543d9515928e4754a741c338dbcdf68ac47e39 (patch)
tree85c27f2c8d54a749776416b595796723b444fbcd /include/linux/rseq.h
parent7ae0d8f1abbbba6f98cac735145e1206927c67d9 (diff)
ALSA: us122l: drop redundant interface references
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. Similarly, USB core holds a reference to all interfaces in the active configuration so there is no need for a driver to take a reference to a sibling interface only to release it at disconnect either. Drop the redundant references to reduce cargo culting, make it easier to spot drivers where extra references are needed, and reduce the risk of memory leaks when drivers fail to release them. Signed-off-by: Johan Hovold <johan@kernel.org> Link: https://patch.msgid.link/20260305111810.18688-1-johan@kernel.org Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/linux/rseq.h')
0 files changed, 0 insertions, 0 deletions