]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
wifi: ath11k: cleanup struct ath11k_vif
authorDmitry Antipov <dmantipov@yandex.ru>
Mon, 11 Nov 2024 07:01:49 +0000 (10:01 +0300)
committerJeff Johnson <quic_jjohnson@quicinc.com>
Thu, 21 Nov 2024 15:52:49 +0000 (07:52 -0800)
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>
Acked-by: Kalle Valo <kvalo@kernel.org>
Link: https://patch.msgid.link/20241111070152.85140-1-dmantipov@yandex.ru
Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
drivers/net/wireless/ath/ath11k/core.h
drivers/net/wireless/ath/ath11k/mac.c

index 09c37e19a168021d430eed2d638629f36c18586a..5ab1fdd2114462d9cf30b5c1d799d8d3244edb69 100644 (file)
@@ -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 {
index e6acbff067496a22abb6b6d4808515d3c5d6da4e..9757ac4aae50ae1c46bab7a3d61e7af90bdfaacc 100644 (file)
@@ -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);