linux/drivers/net/wireless/realtek/rtl818x
Johan Hovold 68e7d359a5 wifi: rtl818x: 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>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20260306085144.12064-17-johan@kernel.org
2026-03-16 13:59:46 +08:00
..
rtl8180 wifi: rtl818x: Fix potential memory leaks in rtl8180_init_rx_ring() 2025-11-18 10:29:49 +08:00
rtl8187 wifi: rtl818x: drop redundant device reference 2026-03-16 13:59:46 +08:00
Kconfig
Makefile
rtl818x.h