summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-03-06 11:51:35 +0300
committerJohannes Berg <johannes.berg@intel.com>2026-03-06 13:00:40 +0300
commit97492c019da4b62df83255e968b23b81c0315530 (patch)
treef9f7465c3812d4329a2d3c78ba74dfa921d48e36 /include
parent6f29eda7b77a9d44382bbeb99fe8a4c93b11aabb (diff)
downloadlinux-97492c019da4b62df83255e968b23b81c0315530.tar.xz
wifi: mwifiex: 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> Acked-by: Francesco Dolcini <francesco.dolcini@toradex.com> Link: https://patch.msgid.link/20260306085144.12064-10-johan@kernel.org Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions