wifi: mediatek: drop redundant USB device references
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest posting 2/25 patches 1 replyIn review
- v2 posting 1/218 patches 10 repliesApplied
- v12 patches 6 repliesSuperseded
Patches in v2 posting 2/2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | wifi: mt76: drop redundant device referencedrivers/ | +0 | 0 replies | |
| 2/5 | wifi: mt76x0u: drop redundant device referencedrivers/ | +0 | 0 replies | |
| 3/5 | wifi: mt76x2u: drop redundant device referencedrivers/ | +0 | 0 replies | |
| 4/5 | wifi: mt76: mt792xu: drop redundant device referencedrivers/ drivers/ drivers/ | +0 | 0 replies | |
| 5/5 | wifi: mt7601u: drop redundant device referencedrivers/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 RESEND 0/5] wifi: mediatek: drop redundant USB device references
[ This is a resend (with trimmed CC) of the five Mediatek patches which
still haven't been picked up from [1]. ]
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 redundant device references 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 them.
Johan
[1] https://lore.kernel.org/all/[email protected]/
Johan Hovold (5):
wifi: mt76: drop redundant device reference
wifi: mt76x0u: drop redundant device reference
wifi: mt76x2u: drop redundant device reference
wifi: mt76: mt792xu: drop redundant device reference
wifi: mt7601u: drop redundant device reference
drivers/net/wireless/mediatek/mt76/mt7615/usb.c | 3 --- drivers/net/wireless/mediatek/mt76/mt76x0/usb.c | 3 --- drivers/net/wireless/mediatek/mt76/mt76x2/usb.c | 4 ---- drivers/net/wireless/mediatek/mt76/mt7921/usb.c | 2 -- drivers/net/wireless/mediatek/mt76/mt7925/usb.c | 2 -- drivers/net/wireless/mediatek/mt76/mt792x_usb.c | 1 - drivers/net/wireless/mediatek/mt7601u/usb.c | 3 --- 7 files changed, 18 deletions(-)
Signature · 1 line
2.53.0