]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
wifi: ath11k: cleanup struct ath11k_mon_data
authorDmitry Antipov <dmantipov@yandex.ru>
Mon, 11 Nov 2024 07:01:51 +0000 (10:01 +0300)
committerJeff Johnson <quic_jjohnson@quicinc.com>
Thu, 21 Nov 2024 15:52:49 +0000 (07:52 -0800)
Remove initialized but otherwise unused 'rx_status_q' member of
'struct ath11k_mon_data' and adjust 'ath11k_dp_rx_pdev_mon_status_attach'
accordingly. Compile tested only.

Fixes: 67a9d399fcb0 ("ath11k: enable RX PPDU stats in monitor co-exist mode")
Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Acked-by: Kalle Valo <kvalo@kernel.org>
Link: https://patch.msgid.link/20241111070152.85140-3-dmantipov@yandex.ru
Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
drivers/net/wireless/ath/ath11k/dp.h
drivers/net/wireless/ath/ath11k/dp_rx.c

index 65d2bc0687c884574e5573517372f87124e547d8..f777314db8b36fb2a255c115500d002a37619a33 100644 (file)
@@ -165,7 +165,6 @@ struct ath11k_mon_data {
        struct ath11k_pdev_mon_stats rx_mon_stats;
        /* lock for monitor data */
        spinlock_t mon_lock;
-       struct sk_buff_head rx_status_q;
 };
 
 struct ath11k_pdev_dp {
index 176bbc5d95a62aee3184d3f13425f501beef7570..238b0e5e92a0e7b238371b0638aea7734f0efcd4 100644 (file)
@@ -5703,8 +5703,6 @@ static int ath11k_dp_rx_pdev_mon_status_attach(struct ath11k *ar)
        struct ath11k_pdev_dp *dp = &ar->dp;
        struct ath11k_mon_data *pmon = (struct ath11k_mon_data *)&dp->mon_data;
 
-       skb_queue_head_init(&pmon->rx_status_q);
-
        pmon->mon_ppdu_status = DP_PPDU_STATUS_START;
 
        memset(&pmon->rx_mon_stats, 0,