wifi: drop redundant USB device references
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest13 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | wifi: at76c50x: drop redundant device referencedrivers/ | +4 | 0 replies | |
| 2/13 | wifi: libertas: drop redundant device referencedrivers/ | +0 | 0 replies | |
| 3/13 | wifi: libertas_tf: drop redundant device referencedrivers/ | +0 | 0 replies | |
| 4/13 | wifi: mwifiex: drop redundant device referencedrivers/ | +0 | 1 reply | |
| 5/13 | wifi: mt76: drop redundant device referencedrivers/ | +0 | 0 replies | |
| 6/13 | wifi: mt76x0u: drop redundant device referencedrivers/ | +0 | 0 replies | |
| 7/13 | wifi: mt76x2u: drop redundant device referencedrivers/ | +0 | 0 replies | |
| 8/13 | wifi: mt76: mt792xu: drop redundant device referencedrivers/ drivers/ drivers/ | +0 | 0 replies | |
| 9/13 | wifi: mt7601u: drop redundant device referencedrivers/ | +0 | 0 replies | |
| 10/13 | wifi: rt2x00: drop redundant device referencedrivers/ | +1 | 3 replies | |
| 11/13 | wifi: rtl818x: drop redundant device referencedrivers/ | +0 | 0 replies | |
| 12/13 | wifi: rtl8xxxu: drop redundant device referencedrivers/ | +3 | 0 replies | |
| 13/13 | wifi: rtlwifi: usb: drop redundant device referencedrivers/ | +0 | 0 replies |
Reviews trailers per patch
2 of 13 patches have a Reviewed-by or Acked-by.
| Patch | Stanislaw Gruszka | Francesco Dolcini |
|---|---|---|
| 1/13 | ||
| 2/13 | ||
| 3/13 | ||
| 4/13 | A-b | |
| 5/13 | ||
| 6/13 | ||
| 7/13 | ||
| 8/13 | ||
| 9/13 | ||
| 10/13 | A-b | |
| 11/13 | ||
| 12/13 | ||
| 13/13 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/13] wifi: drop redundant USB device 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.
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.
Note that I sent an ath9k patch separately here:
https://lore.kernel.org/all/[email protected]/
but I guess these can all be picked up by Johannes.
Johan
Johan Hovold (13):
wifi: at76c50x: drop redundant device reference
wifi: libertas: drop redundant device reference
wifi: libertas_tf: drop redundant device reference
wifi: mwifiex: drop redundant device reference
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
wifi: rt2x00: drop redundant device reference
wifi: rtl818x: drop redundant device reference
wifi: rtl8xxxu: drop redundant device reference
wifi: rtlwifi: usb: drop redundant device reference
drivers/net/wireless/atmel/at76c50x-usb.c | 12 ++++-------- drivers/net/wireless/marvell/libertas/if_usb.c | 3 --- drivers/net/wireless/marvell/libertas_tf/if_usb.c | 2 -- drivers/net/wireless/marvell/mwifiex/usb.c | 4 ---- 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 --- drivers/net/wireless/ralink/rt2x00/rt2x00usb.c | 12 +----------- drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c | 4 ---- drivers/net/wireless/realtek/rtl8xxxu/core.c | 11 +++-------- drivers/net/wireless/realtek/rtlwifi/usb.c | 4 ---- 15 files changed, 8 insertions(+), 62 deletions(-)
Signature · 1 line
2.52.0