ath5k: remove unused ah_txq_isr_qtrig 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:24 +0000 (14:38 +0200)
Remove unused ah_txq_isr_qtrig 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-1-ps.report@gmx.net
drivers/net/wireless/ath/ath5k/ath5k.h
drivers/net/wireless/ath/ath5k/dma.c

index 234ea93..db6ba43 100644 (file)
@@ -1398,7 +1398,6 @@ struct ath5k_hw {
        u32                     ah_txq_isr_txurn;
        u32                     ah_txq_isr_qcborn;
        u32                     ah_txq_isr_qcburn;
-       u32                     ah_txq_isr_qtrig;
 
        u32                     *ah_rf_banks;
        size_t                  ah_rf_banks_size;
index e6c52f7..78b8737 100644 (file)
@@ -723,11 +723,8 @@ ath5k_hw_get_isr(struct ath5k_hw *ah, enum ath5k_int *interrupt_mask)
                }
 
                /* A queue got triggered */
-               if (unlikely(pisr & (AR5K_ISR_QTRIG))) {
+               if (unlikely(pisr & (AR5K_ISR_QTRIG)))
                        *interrupt_mask |= AR5K_INT_QTRIG;
-                       ah->ah_txq_isr_qtrig |= AR5K_REG_MS(sisr4,
-                                               AR5K_SISR4_QTRIG);
-               }
 
                data = pisr;
        }