ath11k.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/4] wifi: ath11k: cleanup struct ath11k_vif
@ 2024-11-11  7:01 Dmitry Antipov
  2024-11-11  7:01 ` [PATCH v2 2/4] wifi: ath11k: cleanup struct ath11k_reg_tpc_power_info Dmitry Antipov
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Dmitry Antipov @ 2024-11-11  7:01 UTC (permalink / raw)
  To: Jeff Johnson; +Cc: Kalle Valo, ath11k, linux-wireless, Dmitry Antipov

Remove set but otherwise unused 'tx_seq_no' member of 'struct ath11k_vif',
adjust 'ath11k_control_beaconing()' accordingly. This field was actually
unused since an initial commit of the driver. Compile tested only.

Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
---
v2: join the series but unchanged otherwise
---
 drivers/net/wireless/ath/ath11k/core.h | 1 -
 drivers/net/wireless/ath/ath11k/mac.c  | 2 --
 2 files changed, 3 deletions(-)

diff --git a/drivers/net/wireless/ath/ath11k/core.h b/drivers/net/wireless/ath/ath11k/core.h
index 09c37e19a168..5ab1fdd21144 100644
--- a/drivers/net/wireless/ath/ath11k/core.h
+++ b/drivers/net/wireless/ath/ath11k/core.h
@@ -370,7 +370,6 @@ struct ath11k_vif {
 	struct ath11k *ar;
 	struct ieee80211_vif *vif;
 
-	u16 tx_seq_no;
 	struct wmi_wmm_params_all_arg wmm_params;
 	struct list_head list;
 	union {
diff --git a/drivers/net/wireless/ath/ath11k/mac.c b/drivers/net/wireless/ath/ath11k/mac.c
index e6acbff06749..9757ac4aae50 100644
--- a/drivers/net/wireless/ath/ath11k/mac.c
+++ b/drivers/net/wireless/ath/ath11k/mac.c
@@ -1697,8 +1697,6 @@ static void ath11k_control_beaconing(struct ath11k_vif *arvif,
 		return;
 	}
 
-	arvif->tx_seq_no = 0x1000;
-
 	arvif->aid = 0;
 
 	ether_addr_copy(arvif->bssid, info->bssid);
-- 
2.47.0



^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-11-21 16:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-11  7:01 [PATCH v2 1/4] wifi: ath11k: cleanup struct ath11k_vif Dmitry Antipov
2024-11-11  7:01 ` [PATCH v2 2/4] wifi: ath11k: cleanup struct ath11k_reg_tpc_power_info Dmitry Antipov
2024-11-21 10:59   ` Kalle Valo
2024-11-11  7:01 ` [PATCH v2 3/4] wifi: ath11k: cleanup struct ath11k_mon_data Dmitry Antipov
2024-11-21 11:00   ` Kalle Valo
2024-11-11  7:01 ` [PATCH v2 4/4] wifi: ath11k: miscellaneous spelling fixes Dmitry Antipov
2024-11-21 11:00   ` Kalle Valo
2024-11-11 18:08 ` [PATCH v2 1/4] wifi: ath11k: cleanup struct ath11k_vif Jeff Johnson
2024-11-21 10:59 ` Kalle Valo
2024-11-21 16:12 ` Jeff Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).