Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

wifi: mwifiex: Remove unused mwifiex_uap_del_sta_data

The last use of mwifiex_uap_del_sta_data() was removed in 2014 by
commit dda9ddeb2638 ("mwifiex: do not delete station entries in del_sta
handler")

Remove it.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Link: https://patch.msgid.link/20250204012512.390209-1-linux@treblig.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>

authored by

Dr. David Alan Gilbert and committed by
Johannes Berg
f5903ca2 b7016fd8

-18
-2
drivers/net/wireless/marvell/mwifiex/main.h
··· 1571 1571 struct cfg80211_chan_def chandef); 1572 1572 int mwifiex_config_start_uap(struct mwifiex_private *priv, 1573 1573 struct mwifiex_uap_bss_param *bss_cfg); 1574 - void mwifiex_uap_del_sta_data(struct mwifiex_private *priv, 1575 - struct mwifiex_sta_node *node); 1576 1574 1577 1575 void mwifiex_config_uap_11d(struct mwifiex_private *priv, 1578 1576 struct cfg80211_beacon_data *beacon_data);
-16
drivers/net/wireless/marvell/mwifiex/uap_event.c
··· 325 325 326 326 return 0; 327 327 } 328 - 329 - /* This function deletes station entry from associated station list. 330 - * Also if both AP and STA are 11n enabled, RxReorder tables and TxBA stream 331 - * tables created for this station are deleted. 332 - */ 333 - void mwifiex_uap_del_sta_data(struct mwifiex_private *priv, 334 - struct mwifiex_sta_node *node) 335 - { 336 - if (priv->ap_11n_enabled && node->is_11n_enabled) { 337 - mwifiex_11n_del_rx_reorder_tbl_by_ta(priv, node->mac_addr); 338 - mwifiex_del_tx_ba_stream_tbl_by_ra(priv, node->mac_addr); 339 - } 340 - mwifiex_del_sta_entry(priv, node->mac_addr); 341 - 342 - return; 343 - }