Re: [PATCH] wifi: rtw89: drop redundant device reference

From: Ping-Ke Shih

Date: Mon Mar 16 2026 - 02:05:10 EST


Johan Hovold <johan@xxxxxxxxxx> wrote:

> 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@xxxxxxxxxx>

1 patch(es) applied to rtw-next branch of rtw.git, thanks.

c2a21f35cea4 wifi: rtw89: drop redundant device reference

---
https://github.com/pkshih/rtw.git