]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
ath5k: remove unused ah_txq_isr_qcburn member from struct ath5k_hw
authorPeter Seiderer <ps.report@gmx.net>
Wed, 12 Jan 2022 08:15:11 +0000 (10:15 +0200)
committerKalle Valo <quic_kvalo@quicinc.com>
Mon, 17 Jan 2022 12:38:25 +0000 (14:38 +0200)
Remove unused ah_txq_isr_qcburn member from struct ath5k_hw (set in
ath5k_hw_get_isr() but never used anywhere).

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20220110223021.17655-2-ps.report@gmx.net
drivers/net/wireless/ath/ath5k/ath5k.h
drivers/net/wireless/ath/ath5k/dma.c

index db6ba433c05d769b15988a328765b19de1fa470d..72ba36a0483711de8d6b8ce1c53bc531107ee69d 100644 (file)
@@ -1397,7 +1397,6 @@ struct ath5k_hw {
        u32                     ah_txq_isr_txok_all;
        u32                     ah_txq_isr_txurn;
        u32                     ah_txq_isr_qcborn;
-       u32                     ah_txq_isr_qcburn;
 
        u32                     *ah_rf_banks;
        size_t                  ah_rf_banks_size;
index 78b87372da95a0769dcde654291028f6f795dda0..faea3262368f88af77b6250b34cbd77f90c48a62 100644 (file)
@@ -716,11 +716,8 @@ ath5k_hw_get_isr(struct ath5k_hw *ah, enum ath5k_int *interrupt_mask)
                }
 
                /* A queue got CBR underrun */
-               if (unlikely(pisr & (AR5K_ISR_QCBRURN))) {
+               if (unlikely(pisr & (AR5K_ISR_QCBRURN)))
                        *interrupt_mask |= AR5K_INT_QCBRURN;
-                       ah->ah_txq_isr_qcburn |= AR5K_REG_MS(sisr3,
-                                               AR5K_SISR3_QCBRURN);
-               }
 
                /* A queue got triggered */
                if (unlikely(pisr & (AR5K_ISR_QTRIG)))