]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
wifi: ath12k: remove unused variable monitor_present
authorKang Yang <quic_kangyang@quicinc.com>
Tue, 22 Oct 2024 11:08:24 +0000 (19:08 +0800)
committerJeff Johnson <quic_jjohnson@quicinc.com>
Wed, 23 Oct 2024 17:16:00 +0000 (10:16 -0700)
Variable monitor_present is not used yet and will not be used in future
monitor mode. So delete it as cleanup.

Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3

Signed-off-by: Kang Yang <quic_kangyang@quicinc.com>
Link: https://patch.msgid.link/20241022110831.974-2-quic_kangyang@quicinc.com
Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
drivers/net/wireless/ath/ath12k/core.h

index 06b637ba8b8f3962fa96f0cfcced3581f698214d..8833c83d02920bdb0f6c590695f382a13ada8f07 100644 (file)
@@ -586,7 +586,6 @@ struct ath12k {
        u32 chan_tx_pwr;
        u32 num_stations;
        u32 max_num_stations;
-       bool monitor_present;
 
        /* protects the radio specific data like debug stats, ppdu_stats_info stats,
         * vdev_stop_status info, scan data, ath12k_sta info, ath12k_link_vif info,