linux/drivers/net/wireless
Sascha Hauer 67a72043aa wifi: mwifiex: remove unnecessary checks for valid priv
The pointers in adapter->priv[] are allocated in mwifiex_register().
With an allocation failed the function will return an error and
driver initialization is aborted. This makes all checks for valid
priv pointers unnecessary throughout the driver. In many places
the pointers are assumed to be valid without checks, this patch
removes the remaining checks.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://patch.msgid.link/20240816-mwifiex-remove-priv-checks-v1-1-6dd6553e8ed9@pengutronix.de
2024-08-22 12:00:11 +03:00
..
admtek wifi: mac80211: inform the low level if drv_stop() is a suspend 2024-06-26 10:25:46 +02:00
ath ath.git patches for v6.12 2024-08-13 12:58:32 +03:00
atmel wifi: mac80211: inform the low level if drv_stop() is a suspend 2024-06-26 10:25:46 +02:00
broadcom wifi: b43: Constify struct lpphy_tx_gain_table_entry 2024-08-07 20:15:56 +03:00
intel wifi: iwlegacy: Avoid multiple -Wflex-array-member-not-at-end warnings 2024-08-22 11:40:59 +03:00
intersil wifi: mac80211: inform the low level if drv_stop() is a suspend 2024-06-26 10:25:46 +02:00
marvell wifi: mwifiex: remove unnecessary checks for valid priv 2024-08-22 12:00:11 +03:00
mediatek wifi: mt76: mt792x: fix scheduler interference in drv own process 2024-07-09 23:02:10 +02:00
microchip Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2024-07-04 14:16:11 -07:00
purelifi wifi: mac80211: inform the low level if drv_stop() is a suspend 2024-06-26 10:25:46 +02:00
quantenna wifi: qtnfmac: Remove generic .ndo_get_stats64 2024-05-02 10:20:04 +03:00
ralink wifi: mac80211: inform the low level if drv_stop() is a suspend 2024-06-26 10:25:46 +02:00
realtek wifi: rtw88: Enable USB RX aggregation for 8822c/8822b/8821c 2024-08-09 09:12:51 +08:00
rsi wifi: mac80211: inform the low level if drv_stop() is a suspend 2024-06-26 10:25:46 +02:00
silabs wifi: mac80211: inform the low level if drv_stop() is a suspend 2024-06-26 10:25:46 +02:00
st wifi: mac80211: inform the low level if drv_stop() is a suspend 2024-06-26 10:25:46 +02:00
ti - In the series "treewide: Refactor heap related implementation", 2024-07-21 17:56:22 -07:00
virtual virtio: features, fixes, cleanups 2024-07-19 11:57:55 -07:00
zydas wifi: mac80211: inform the low level if drv_stop() is a suspend 2024-06-26 10:25:46 +02:00
Kconfig wifi: remove orphaned rndis_wlan driver 2023-10-30 19:30:33 +02:00
Makefile wifi: remove orphaned rndis_wlan driver 2023-10-30 19:30:33 +02:00