iwlwifi: Cleaning up deadcode
cover iwlwifi: Cleaning up deadcode
From: "Dr. David Alan Gilbert" <[email protected]>
Hi,
This is a collection of removal of functions
that have been used for more than a few years.
There are also a handful of string and one structure
removal that are just left overs from a recent commit.
They're all entire function/structure/string removal.
Build tested only.
Dr. David Alan Gilbert (6):
iwlwifi: Remove unused iwl_rx_ant_restriction
iwlwifi: Remove unused iwl_mvm_rx_missed_vap_notif
iwlwifi: Remove unused iwl_mvm_ftm_*_add_pasn_sta functions
iwlwifi: Remove unused iwl_mvm_ftm_add_pasn_sta
iwlwifi: Remove unused iwl_bz_name
iwlwifi: Remove old device data
.../net/wireless/intel/iwlwifi/cfg/22000.c | 1 - .../net/wireless/intel/iwlwifi/cfg/ax210.c | 8 -- drivers/net/wireless/intel/iwlwifi/cfg/bz.c | 1 - drivers/net/wireless/intel/iwlwifi/dvm/tt.c | 11 -- drivers/net/wireless/intel/iwlwifi/dvm/tt.h | 1 - .../net/wireless/intel/iwlwifi/iwl-config.h | 4 - .../intel/iwlwifi/mvm/ftm-initiator.c | 101 ------------------ .../intel/iwlwifi/mvm/ftm-responder.c | 86 --------------- .../net/wireless/intel/iwlwifi/mvm/mac-ctxt.c | 23 ---- drivers/net/wireless/intel/iwlwifi/mvm/mvm.h | 12 --- drivers/net/wireless/intel/iwlwifi/mvm/sta.c | 61 ----------- drivers/net/wireless/intel/iwlwifi/mvm/sta.h | 4 - 12 files changed, 313 deletions(-)
Signature · 1 line
2.47.1
PATCH 1/6 iwlwifi: Remove unused iwl_rx_ant_restriction
From: "Dr. David Alan Gilbert" <[email protected]>
iwl_rx_ant_restriction() was added in 2009 by
commit 46f9381aa3fb ("iwlwifi: Thermal Throttling Management - part 2") but never used.
Remove it.
--- drivers/net/wireless/intel/iwlwifi/dvm/tt.c | 11 ----------- drivers/net/wireless/intel/iwlwifi/dvm/tt.h | 1 - 2 files changed, 12 deletions(-)
drivers/net/wireless/intel/iwlwifi/dvm/tt.c +0 -11
@@ -124,17 +124,6 @@ enum iwl_antenna_ok iwl_tx_ant_restriction(struct iwl_priv *priv)return restriction->tx_stream; } -enum iwl_antenna_ok iwl_rx_ant_restriction (struct iwl_priv *priv) -{ -struct iwl_tt_mgmt *tt = &priv->thermal_throttle; -struct iwl_tt_restriction *restriction; - -if (!priv->thermal_throttle.advanced_tt) -return IWL_ANT_OK_MULTI ; - restriction = tt->restriction + tt->state; -return restriction->rx_stream; -} -#define CT_KILL_EXIT_DURATION (5)/* 5 seconds duration */ #define CT_KILL_WAITING_DURATION (300)/* 300ms duration */
drivers/net/wireless/intel/iwlwifi/dvm/tt.h +0 -1
@@ -100,7 +100,6 @@ u8 iwl_tt_current_power_mode(struct iwl_priv *priv);bool iwl_tt_is_low_power_state (struct iwl_priv *priv);bool iwl_ht_enabled (struct iwl_priv *priv);enum iwl_antenna_ok iwl_tx_ant_restriction (struct iwl_priv *priv); -enum iwl_antenna_ok iwl_rx_ant_restriction (struct iwl_priv *priv);void iwl_tt_enter_ct_kill (struct iwl_priv *priv);void iwl_tt_exit_ct_kill (struct iwl_priv *priv);void iwl_tt_handler (struct iwl_priv *priv);
Signature · 1 line
2.47.1
PATCH 2/6 iwlwifi: Remove unused iwl_mvm_rx_missed_vap_notif
In reply to [email protected]From: "Dr. David Alan Gilbert" <[email protected]>
iwl_mvm_rx_missed_vap_notif() was added in 2019 by
commit 449a29d0fead ("iwlwifi: mvm: add notification for missed VAP")
but hasn't been used.
Remove it.
--- .../net/wireless/intel/iwlwifi/mvm/mac-ctxt.c | 23 ------------------- drivers/net/wireless/intel/iwlwifi/mvm/mvm.h | 2 -- 2 files changed, 25 deletions(-)
drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c +0 -23
@@ -1975,26 +1975,3 @@ void iwl_mvm_channel_switch_error_notif(struct iwl_mvm *mvm,ieee80211_channel_switch_disconnect (vif);rcu_read_unlock (); } - -void iwl_mvm_rx_missed_vap_notif (struct iwl_mvm *mvm, -struct iwl_rx_cmd_buffer *rxb) -{ -struct iwl_rx_packet *pkt =rxb_addr (rxb); -struct iwl_missed_vap_notif *mb = (void *)pkt->data; -struct ieee80211_vif *vif; -u32 id =le32_to_cpu (mb->mac_id); - -IWL_DEBUG_INFO (mvm, -"missed_vap notify mac_id=%u, num_beacon_intervals_elapsed=%u, profile_periodicity=%u\n" , -le32_to_cpu (mb->mac_id), - mb->num_beacon_intervals_elapsed, - mb->profile_periodicity); - -rcu_read_lock (); - - vif =iwl_mvm_rcu_dereference_vif_id (mvm, id, true); -if (vif) -iwl_mvm_connection_loss (mvm, vif,"missed vap beacon" ); - -rcu_read_unlock (); -}
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h +0 -2
@@ -2093,8 +2093,6 @@ void iwl_mvm_mac_ctxt_recalc_tsf_id(struct iwl_mvm *mvm, struct ieee80211_vif *vif);void iwl_mvm_probe_resp_data_notif (struct iwl_mvm *mvm,struct iwl_rx_cmd_buffer *rxb); -void iwl_mvm_rx_missed_vap_notif (struct iwl_mvm *mvm, -struct iwl_rx_cmd_buffer *rxb);void iwl_mvm_channel_switch_start_notif (struct iwl_mvm *mvm,struct iwl_rx_cmd_buffer *rxb); void iwl_mvm_channel_switch_error_notif(struct iwl_mvm *mvm,
Signature · 1 line
2.47.1
PATCH 3/6 iwlwifi: Remove unused iwl_mvm_ftm_*_add_pasn_sta functions
In reply to [email protected]From: "Dr. David Alan Gilbert" <[email protected]>
iwl_mvm_ftm_respoder_add_pasn_sta() and iwl_mvm_ftm_resp_remove_pasn_sta() were added in 2020 by commit be82ecd3a5c8 ("iwlwifi: mvm: add an option to add PASN station") but have remained unused.
Remove them.
After that removal iwl_mvm_add_pasn_sta() is now unused. Remove it.
--- .../intel/iwlwifi/mvm/ftm-responder.c | 86 ------------------- drivers/net/wireless/intel/iwlwifi/mvm/mvm.h | 6 -- drivers/net/wireless/intel/iwlwifi/mvm/sta.c | 61 ------------- drivers/net/wireless/intel/iwlwifi/mvm/sta.h | 4 - 4 files changed, 157 deletions(-)
drivers/net/wireless/intel/iwlwifi/mvm/ftm-responder.c +0 -86
@@ -324,92 +324,6 @@ static void iwl_mvm_resp_del_pasn_sta(struct iwl_mvm *mvm,kfree (sta); } -int iwl_mvm_ftm_respoder_add_pasn_sta (struct iwl_mvm *mvm, -struct ieee80211_vif *vif, -u8 *addr,u32 cipher,u8 *tk,u32 tk_len, -u8 *hltk,u32 hltk_len) -{ -int ret; -struct iwl_mvm_pasn_sta *sta =NULL ; -struct iwl_mvm_pasn_hltk_data hltk_data = { - .addr = addr, - .hltk = hltk, - }; -struct iwl_mvm_pasn_hltk_data *hltk_data_ptr =NULL ; - -u8 cmd_ver =iwl_fw_lookup_cmd_ver (mvm->fw, -WIDE_ID (LOCATION_GROUP ,TOF_RESPONDER_DYN_CONFIG_CMD ), -2 ); - -lockdep_assert_held (&mvm->mutex); - -if (cmd_ver <3 ) { -IWL_ERR (mvm,"Adding PASN station not supported by FW\n" ); -return -EOPNOTSUPP ; - } - -if ((!hltk || !hltk_len) && (!tk || !tk_len)) { -IWL_ERR (mvm,"TK and HLTK not set\n" ); -return -EINVAL ; - } - -if (hltk && hltk_len) { -if (!fw_has_capa (&mvm->fw->ucode_capa, -IWL_UCODE_TLV_CAPA_SECURE_LTF_SUPPORT )) { -IWL_ERR (mvm,"No support for secure LTF measurement\n" ); -return -EINVAL ; - } - - hltk_data.cipher =iwl_mvm_cipher_to_location_cipher (cipher); -if (hltk_data.cipher ==IWL_LOCATION_CIPHER_INVALID ) { -IWL_ERR (mvm,"invalid cipher: %u\n" , cipher); -return -EINVAL ; - } - - hltk_data_ptr = &hltk_data; - } - -if (tk && tk_len) { - sta =kzalloc (sizeof (*sta) + tk_len,GFP_KERNEL ); -if (!sta) -return -ENOBUFS ; - - ret =iwl_mvm_add_pasn_sta (mvm, vif, &sta->int_sta, addr, - cipher, tk, tk_len, &sta->keyconf); -if (ret) { -kfree (sta); -return ret; - } - -memcpy (sta->addr, addr,ETH_ALEN ); -list_add_tail (&sta->list, &mvm->resp_pasn_list); - } - - ret =iwl_mvm_ftm_responder_dyn_cfg_v3 (mvm, vif,NULL , hltk_data_ptr); -if (ret && sta) -iwl_mvm_resp_del_pasn_sta (mvm, vif, sta); - -return ret; -} - -int iwl_mvm_ftm_resp_remove_pasn_sta (struct iwl_mvm *mvm, -struct ieee80211_vif *vif,u8 *addr) -{ -struct iwl_mvm_pasn_sta *sta, *prev; - -lockdep_assert_held (&mvm->mutex); - -list_for_each_entry_safe (sta, prev, &mvm->resp_pasn_list, list) { -if (!memcmp (sta->addr, addr,ETH_ALEN )) { -iwl_mvm_resp_del_pasn_sta (mvm, vif, sta); -return 0 ; - } - } - -IWL_ERR (mvm,"FTM: PASN station %pM not found\n" , addr); -return -EINVAL ; -} -int iwl_mvm_ftm_start_responder (struct iwl_mvm *mvm,struct ieee80211_vif *vif,struct ieee80211_bss_conf *bss_conf) {
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h +0 -6
@@ -2516,12 +2516,6 @@ void iwl_mvm_ftm_restart_responder(struct iwl_mvm *mvm, struct ieee80211_bss_conf *bss_conf);void iwl_mvm_ftm_responder_stats (struct iwl_mvm *mvm,struct iwl_rx_cmd_buffer *rxb); -int iwl_mvm_ftm_resp_remove_pasn_sta (struct iwl_mvm *mvm, -struct ieee80211_vif *vif,u8 *addr); -int iwl_mvm_ftm_respoder_add_pasn_sta (struct iwl_mvm *mvm, -struct ieee80211_vif *vif, -u8 *addr,u32 cipher,u8 *tk,u32 tk_len, -u8 *hltk,u32 hltk_len);void iwl_mvm_ftm_responder_clear (struct iwl_mvm *mvm,struct ieee80211_vif *vif);
drivers/net/wireless/intel/iwlwifi/mvm/sta.c +0 -61
67 lines not on this page · raw message
drivers/net/wireless/intel/iwlwifi/mvm/sta.h +0 -4
@@ -597,10 +597,6 @@ void iwl_mvm_modify_all_sta_disable_tx(struct iwl_mvm *mvm,void iwl_mvm_csa_client_absent (struct iwl_mvm *mvm,struct ieee80211_vif *vif);int iwl_mvm_sta_ensure_queue (struct iwl_mvm *mvm,struct ieee80211_txq *txq);void iwl_mvm_add_new_dqa_stream_wk (struct work_struct *wk); -int iwl_mvm_add_pasn_sta (struct iwl_mvm *mvm,struct ieee80211_vif *vif, -struct iwl_mvm_int_sta *sta,u8 *addr,u32 cipher, -u8 *key,u32 key_len, -struct ieee80211_key_conf *key_conf_out);void iwl_mvm_cancel_channel_switch (struct iwl_mvm *mvm,struct ieee80211_vif *vif,u32 id);
Signature · 1 line
2.47.1
PATCH 5/6 iwlwifi: Remove unused iwl_bz_name
In reply to [email protected]From: "Dr. David Alan Gilbert" <[email protected]>
iwl_bz_name[] has been unused since the resent
commit 6795a37161fb ("wifi: iwlwifi: Print a specific device name.")
Remove it.
--- drivers/net/wireless/intel/iwlwifi/cfg/bz.c | 1 - drivers/net/wireless/intel/iwlwifi/iwl-config.h | 1 - 2 files changed, 2 deletions(-)
drivers/net/wireless/intel/iwlwifi/cfg/bz.c +0 -1
@@ -159,7 +159,6 @@ const struct iwl_cfg_trans_params iwl_gl_trans_cfg = { .low_latency_xtal = true, }; -const char iwl_bz_name[] ="Intel(R) TBD Bz device" ;const char iwl_fm_name[] ="Intel(R) Wi-Fi 7 BE201 320MHz" ;const char iwl_gl_name[] ="Intel(R) Wi-Fi 7 BE200 320MHz" ;const char iwl_mtp_name[] ="Intel(R) Wi-Fi 7 BE202 160MHz" ;
drivers/net/wireless/intel/iwlwifi/iwl-config.h +0 -1
@@ -543,7 +543,6 @@ extern const char iwl_ax211_name[];extern const char iwl_ax221_name[];extern const char iwl_ax231_name[];extern const char iwl_ax411_name[]; -extern const char iwl_bz_name[];extern const char iwl_fm_name[];extern const char iwl_gl_name[];extern const char iwl_mtp_name[];
Signature · 1 line
2.47.1
PATCH 6/6 iwlwifi: Remove old device data
In reply to [email protected]From: "Dr. David Alan Gilbert" <[email protected]>
The last use of iwl_ax204_name[], iwl_ax221_name[] and iwl_cfg_so_a0_ms_a0 was removed by
commit f473a7fd6d60 ("wifi: iwlwifi: remove devices that never came out")
Remove them.
--- drivers/net/wireless/intel/iwlwifi/cfg/22000.c | 1 - drivers/net/wireless/intel/iwlwifi/cfg/ax210.c | 8 -------- drivers/net/wireless/intel/iwlwifi/iwl-config.h | 3 --- 3 files changed, 12 deletions(-)
drivers/net/wireless/intel/iwlwifi/cfg/22000.c +0 -1
@@ -205,7 +205,6 @@ const char iwl_ax101_name[] = "Intel(R) Wi-Fi 6 AX101";const char iwl_ax200_name[] ="Intel(R) Wi-Fi 6 AX200 160MHz" ;const char iwl_ax201_name[] ="Intel(R) Wi-Fi 6 AX201 160MHz" ;const char iwl_ax203_name[] ="Intel(R) Wi-Fi 6 AX203" ; -const char iwl_ax204_name[] ="Intel(R) Wi-Fi 6 AX204 160MHz" ;const char iwl_ax200_killer_1650w_name[] ="Killer(R) Wi-Fi 6 AX1650w 160MHz Wireless Network Adapter (200D2W)" ;
drivers/net/wireless/intel/iwlwifi/cfg/ax210.c +0 -8
@@ -199,7 +199,6 @@ const struct iwl_cfg_trans_params iwl_ma_trans_cfg = { };const char iwl_ax211_name[] ="Intel(R) Wi-Fi 6E AX211 160MHz" ; -const char iwl_ax221_name[] ="Intel(R) Wi-Fi 6E AX221 160MHz" ;const char iwl_ax231_name[] ="Intel(R) Wi-Fi 6E AX231 160MHz" ;const char iwl_ax411_name[] ="Intel(R) Wi-Fi 6E AX411 160MHz" ;
@@ -267,13 +266,6 @@ const struct iwl_cfg iwlax411_2ax_cfg_so_gf4_a0_long = { .trans.low_latency_xtal = true, }; -const struct iwl_cfg iwl_cfg_so_a0_ms_a0 = { - .fw_name_pre =IWL_SO_A_MR_A_FW_PRE , - .uhb_supported = false, -IWL_DEVICE_AX210 , - .num_rbds =IWL_NUM_RBDS_AX210_HE , -}; -const struct iwl_cfg iwl_cfg_ma = { .fw_name_mac ="ma" , .uhb_supported = true,
drivers/net/wireless/intel/iwlwifi/iwl-config.h +0 -3
@@ -524,7 +524,6 @@ extern const char iwl9560_killer_1550i_name[];extern const char iwl9560_killer_1550s_name[];extern const char iwl_ax200_name[];extern const char iwl_ax203_name[]; -extern const char iwl_ax204_name[];extern const char iwl_ax201_name[];extern const char iwl_ax101_name[];extern const char iwl_ax200_killer_1650w_name[];
@@ -540,7 +539,6 @@ extern const char iwl_ax211_killer_1675i_name[];extern const char iwl_ax411_killer_1690s_name[];extern const char iwl_ax411_killer_1690i_name[];extern const char iwl_ax211_name[]; -extern const char iwl_ax221_name[];extern const char iwl_ax231_name[];extern const char iwl_ax411_name[];extern const char iwl_fm_name[];
@@ -647,7 +645,6 @@ extern const struct iwl_cfg iwlax411_2ax_cfg_so_gf4_a0_long;extern const struct iwl_cfg iwl_cfg_ma;extern const struct iwl_cfg iwl_cfg_so_a0_hr_a0; -extern const struct iwl_cfg iwl_cfg_so_a0_ms_a0;extern const struct iwl_cfg iwl_cfg_quz_a0_hr_b0;extern const struct iwl_cfg iwl_cfg_bz;
Signature · 1 line
2.47.1
PATCH 4/6 iwlwifi: Remove unused iwl_mvm_ftm_add_pasn_sta
In reply to [email protected]From: "Dr. David Alan Gilbert" <[email protected]>
iwl_mvm_ftm_add_pasn_sta() was added in 2020 by
commit 0739a7d70e00 ("iwlwifi: mvm: initiator: add option for adding a PASN responder")
but hasn't been used.
Remove it.
That was the only caller of iwl_mvm_ftm_remove_pasn_sta().
Remove it.
--- .../intel/iwlwifi/mvm/ftm-initiator.c | 101 ------------------ drivers/net/wireless/intel/iwlwifi/mvm/mvm.h | 4 - 2 files changed, 105 deletions(-)
drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c +0 -101
@@ -46,107 +46,6 @@ struct iwl_mvm_ftm_iter_data {u8 *tk; }; -int iwl_mvm_ftm_add_pasn_sta (struct iwl_mvm *mvm,struct ieee80211_vif *vif, -u8 *addr,u32 cipher,u8 *tk,u32 tk_len, -u8 *hltk,u32 hltk_len) -{ -struct iwl_mvm_ftm_pasn_entry *pasn =kzalloc (sizeof (*pasn), -GFP_KERNEL ); -u32 expected_tk_len; - -lockdep_assert_held (&mvm->mutex); - -if (!pasn) -return -ENOBUFS ; - -iwl_mvm_ftm_remove_pasn_sta (mvm, addr); - - pasn->cipher =iwl_mvm_cipher_to_location_cipher (cipher); - -switch (pasn->cipher) { -case IWL_LOCATION_CIPHER_CCMP_128 : -case IWL_LOCATION_CIPHER_GCMP_128 : - expected_tk_len =WLAN_KEY_LEN_CCMP ; -break ; -case IWL_LOCATION_CIPHER_GCMP_256 : - expected_tk_len =WLAN_KEY_LEN_GCMP_256 ; -break ; -default : - goto out; - } - -/* -* If associated to this AP and already have security context, -* the TK is already configured for this station, so it -* shouldn't be set again here. -*/ -if (vif->cfg.assoc) { -struct iwl_mvm_vif *mvmvif =iwl_mvm_vif_from_mac80211 (vif); -struct ieee80211_bss_conf *link_conf; -unsigned int link_id; -struct ieee80211_sta *sta; -u8 sta_id; - -rcu_read_lock (); -for_each_vif_active_link (vif, link_conf, link_id) { -if (memcmp (addr, link_conf->bssid,ETH_ALEN )) -continue ; - - sta_id = mvmvif->link[link_id]->ap_sta_id; - sta =rcu_dereference (mvm->fw_id_to_mac_id[sta_id]); -if (!IS_ERR_OR_NULL (sta) && sta->mfp) - expected_tk_len =0 ; -break ; - } -rcu_read_unlock (); - } - -if (tk_len != expected_tk_len || - (hltk_len && hltk_len !=sizeof (pasn->hltk))) { -IWL_ERR (mvm,"Invalid key length: tk_len=%u hltk_len=%u\n" , - tk_len, hltk_len); - goto out; - } - -if (!expected_tk_len && !hltk_len) { -IWL_ERR (mvm,"TK and HLTK not set\n" ); - goto out; - } - -memcpy (pasn->addr, addr,sizeof (pasn->addr)); - -if (hltk_len) { -memcpy (pasn->hltk, hltk,sizeof (pasn->hltk)); - pasn->flags |=IWL_MVM_PASN_FLAG_HAS_HLTK ; - } - -if (tk && tk_len) -memcpy (pasn->tk, tk,sizeof (pasn->tk)); - -list_add_tail (&pasn->list, &mvm->ftm_initiator.pasn_list); -return 0 ; -out: -kfree (pasn); -return -EINVAL ; -} - -void iwl_mvm_ftm_remove_pasn_sta (struct iwl_mvm *mvm,u8 *addr) -{ -struct iwl_mvm_ftm_pasn_entry *entry, *prev; - -lockdep_assert_held (&mvm->mutex); - -list_for_each_entry_safe (entry, prev, &mvm->ftm_initiator.pasn_list, - list) { -if (memcmp (entry->addr, addr,sizeof (entry->addr))) -continue ; - -list_del (&entry->list); -kfree (entry); -return ; - } -} -static void iwl_mvm_ftm_reset (struct iwl_mvm *mvm) {struct iwl_mvm_loc_entry *e, *t;
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h +0 -4
@@ -2530,10 +2530,6 @@ int iwl_mvm_ftm_start(struct iwl_mvm *mvm, struct ieee80211_vif *vif,void iwl_mvm_ftm_abort (struct iwl_mvm *mvm,struct cfg80211_pmsr_request *req);void iwl_mvm_ftm_initiator_smooth_config (struct iwl_mvm *mvm);void iwl_mvm_ftm_initiator_smooth_stop (struct iwl_mvm *mvm); -int iwl_mvm_ftm_add_pasn_sta (struct iwl_mvm *mvm,struct ieee80211_vif *vif, -u8 *addr,u32 cipher,u8 *tk,u32 tk_len, -u8 *hltk,u32 hltk_len); -void iwl_mvm_ftm_remove_pasn_sta (struct iwl_mvm *mvm,u8 *addr);/* TDLS */
Signature · 1 line
2.47.1
Quoted 6 lines · * [email protected] ([email protected]) wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
Hi,
This is a collection of removal of functions
that have been used for more than a few years.
Quoted 8 lines
There are also a handful of string and one structure
removal that are just left overs from a recent commit.They're all entire function/structure/string removal.
Build tested only.
Signed-off-by Dr. David Alan Gilbert <[email protected]>
A gentle ping on this just-pre-christmas set please. Thanks!
Dave
Quoted 27 lines
Dr. David Alan Gilbert (6):
iwlwifi: Remove unusediwl_rx_ant_restriction
iwlwifi: Remove unusediwl_mvm_rx_missed_vap_notif
iwlwifi: Remove unused iwl_mvm_ftm_*_add_pasn_sta functions
iwlwifi: Remove unusediwl_mvm_ftm_add_pasn_sta
iwlwifi: Remove unusediwl_bz_name
iwlwifi: Remove old device data.../net/wireless/intel/iwlwifi/cfg/22000.c | 1 - .../net/wireless/intel/iwlwifi/cfg/ax210.c | 8 -- drivers/net/wireless/intel/iwlwifi/cfg/bz.c | 1 - drivers/net/wireless/intel/iwlwifi/dvm/tt.c | 11 -- drivers/net/wireless/intel/iwlwifi/dvm/tt.h | 1 - .../net/wireless/intel/iwlwifi/iwl-config.h | 4 - .../intel/iwlwifi/mvm/ftm-initiator.c | 101 ------------------ .../intel/iwlwifi/mvm/ftm-responder.c | 86 --------------- .../net/wireless/intel/iwlwifi/mvm/mac-ctxt.c | 23 ---- drivers/net/wireless/intel/iwlwifi/mvm/mvm.h | 12 --- drivers/net/wireless/intel/iwlwifi/mvm/sta.c | 61 ----------- drivers/net/wireless/intel/iwlwifi/mvm/sta.h | 4 - 12 files changed, 313 deletions(-)Signature · 1 line
2.47.1
Signature · 4 lines
-----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux | Happy \ \ dave @ treblig.org | | In Hex / \ _________________________|_____ http://www.treblig.org |_______/
Quoted 55 lines
-----Original Message-----
From: Dr. David Alan Gilbert <[email protected]>
Sent: Tuesday, 28 January 2025 20:46
To: Korenblit, Miriam Rachel <[email protected]>; [email protected]; [email protected]
Cc: [email protected]
Subject: Re: [PATCH 0/6] iwlwifi: Cleaning up deadcodeQuoted 6 lines · * [email protected] ([email protected]) wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
Hi,
This is a collection of removal of functions that have been used for
more than a few years.Quoted 8 lines
There are also a handful of string and one structure removal that
are just left overs from a recent commit.They're all entire function/structure/string removal.
Build tested only.
Signed-off-by Dr. David Alan Gilbert <[email protected]>A gentle ping on this just-pre-christmas set please. Thanks!
Dave
Quoted 24 lines
Dr. David Alan Gilbert (6):
iwlwifi: Remove unusediwl_rx_ant_restriction
iwlwifi: Remove unusediwl_mvm_rx_missed_vap_notif
iwlwifi: Remove unused iwl_mvm_ftm_*_add_pasn_sta functions
iwlwifi: Remove unusediwl_mvm_ftm_add_pasn_sta
iwlwifi: Remove unusediwl_bz_name
iwlwifi: Remove old device data.../net/wireless/intel/iwlwifi/cfg/22000.c | 1 - .../net/wireless/intel/iwlwifi/cfg/ax210.c | 8 -- drivers/net/wireless/intel/iwlwifi/cfg/bz.c | 1 - drivers/net/wireless/intel/iwlwifi/dvm/tt.c | 11 -- drivers/net/wireless/intel/iwlwifi/dvm/tt.h | 1 - .../net/wireless/intel/iwlwifi/iwl-config.h | 4 - .../intel/iwlwifi/mvm/ftm-initiator.c | 101 ------------------ .../intel/iwlwifi/mvm/ftm-responder.c | 86 --------------- .../net/wireless/intel/iwlwifi/mvm/mac-ctxt.c | 23 ---- drivers/net/wireless/intel/iwlwifi/mvm/mvm.h | 12 --- drivers/net/wireless/intel/iwlwifi/mvm/sta.c | 61 ----------- drivers/net/wireless/intel/iwlwifi/mvm/sta.h | 4 - 12 files changed, 313 deletions(-)
Quoted 8 lines
Quoted 3 lines
--
2.47.1--
-----Open up your eyes, open up your mind, open up your code -------/ Dr. David Alan Gilbert | Running GNU/Linux | Happy \ \ dave @ treblig.org | | In Hex / \ _________________________|_____ http://www.treblig.org |_______/
Quoted 58 lines · * Korenblit, Miriam Rachel ([email protected]) wrote:
Quoted 58 lines
-----Original Message-----
From: Dr. David Alan Gilbert <[email protected]>
Sent: Tuesday, 28 January 2025 20:46
To: Korenblit, Miriam Rachel <[email protected]>; [email protected]; [email protected]
Cc: [email protected]
Subject: Re: [PATCH 0/6] iwlwifi: Cleaning up deadcodeQuoted 6 lines · * [email protected] ([email protected]) wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
Hi,
This is a collection of removal of functions that have been used for
more than a few years.Quoted 8 lines
There are also a handful of string and one structure removal that
are just left overs from a recent commit.They're all entire function/structure/string removal.
Build tested only.
Signed-off-by Dr. David Alan Gilbert <[email protected]>A gentle ping on this just-pre-christmas set please. Thanks!
Dave
Quoted 27 lines
Dr. David Alan Gilbert (6):
iwlwifi: Remove unusediwl_rx_ant_restriction
iwlwifi: Remove unusediwl_mvm_rx_missed_vap_notif
iwlwifi: Remove unused iwl_mvm_ftm_*_add_pasn_sta functions
iwlwifi: Remove unusediwl_mvm_ftm_add_pasn_sta
iwlwifi: Remove unusediwl_bz_name
iwlwifi: Remove old device data.../net/wireless/intel/iwlwifi/cfg/22000.c | 1 - .../net/wireless/intel/iwlwifi/cfg/ax210.c | 8 -- drivers/net/wireless/intel/iwlwifi/cfg/bz.c | 1 - drivers/net/wireless/intel/iwlwifi/dvm/tt.c | 11 -- drivers/net/wireless/intel/iwlwifi/dvm/tt.h | 1 - .../net/wireless/intel/iwlwifi/iwl-config.h | 4 - .../intel/iwlwifi/mvm/ftm-initiator.c | 101 ------------------ .../intel/iwlwifi/mvm/ftm-responder.c | 86 --------------- .../net/wireless/intel/iwlwifi/mvm/mac-ctxt.c | 23 ---- drivers/net/wireless/intel/iwlwifi/mvm/mvm.h | 12 --- drivers/net/wireless/intel/iwlwifi/mvm/sta.c | 61 ----------- drivers/net/wireless/intel/iwlwifi/mvm/sta.h | 4 - 12 files changed, 313 deletions(-)--
2.47.1
Quoted 8 lines
Quoted 5 lines
--
-----Open up your eyes, open up your mind, open up your code -------/ Dr. David Alan Gilbert | Running GNU/Linux | Happy \ \ dave @ treblig.org | | In Hex / \ _________________________|_____ http://www.treblig.org |_______/Acked-by Miri Korenblit <[email protected]>
Thanks!
Dave
Signature · 4 lines
-----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux | Happy \ \ dave @ treblig.org | | In Hex / \ _________________________|_____ http://www.treblig.org |_______/