remove ah_getTxIntrQueue
authorOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 08:27:34 +0000 (10:27 +0200)
committerOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 14:10:04 +0000 (16:10 +0200)
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
target_firmware/wlan/ah.h
target_firmware/wlan/ar5416_hw.c

index 6cf9354d1598a39bd406c26b29b1dfd523b956e8..62031d70d7ddd31e43d8048932443961fb0c7179 100755 (executable)
@@ -435,7 +435,6 @@ struct ath_hal
                                           HAL_BOOL lastSeg, const struct ath_tx_desc *);
        HAL_BOOL  __ahdecl (*ah_fillKeyTxDesc) (struct ath_hal *, struct ath_tx_desc *, HAL_KEY_TYPE);
        HAL_STATUS __ahdecl(*ah_procTxDesc)(struct ath_hal *, struct ath_tx_desc *);
-       void            __ahdecl(*ah_getTxIntrQueue)(struct ath_hal *, a_uint32_t *);
        void       __ahdecl(*ah_reqTxIntrDesc)(struct ath_hal *, struct ath_desc*);    
        HAL_BOOL  __ahdecl(*ah_setBssIdMask)(struct ath_hal *, const a_uint8_t*);
        void      __ahdecl(*ah_setPCUConfig)(struct ath_hal *);
index d1ceb66deb0e3d2515815bad81cf15c0b58cb184..947e9a02a8342d26804420d7ee792fda1837eb56 100644 (file)
@@ -61,8 +61,7 @@ static const struct ath_hal_private ar5416hal_10 = {{
                .ah_numTxPending        = ar5416NumTxPending,    
                .ah_startTxDma          = ar5416StartTxDma,
                .ah_stopTxDma           = ar5416StopTxDma,
-        
-               .ah_getTxIntrQueue      = ar5416GetTxIntrQueue,
+
                .ah_abortTxDma          = ar5416AbortTxDma,
 
                /* Misc Functions */
@@ -689,13 +688,6 @@ HAL_BOOL ar5416StopTxDma(struct ath_hal*ah, a_uint32_t q)
         return (i != 0);
 }
 
-void ar5416GetTxIntrQueue(struct ath_hal *ah, a_uint32_t *txqs)
-{
-        struct ath_hal_5416 *ahp = AH5416(ah);
-        *txqs &= ahp->ah_intrTxqs;
-        ahp->ah_intrTxqs &= ~(*txqs);
-}
-
 void ar5416IntrReqTxDesc_20(struct ath_hal *ah, struct ath_desc *ds)
 {
        struct ar5416_desc *ads = AR5416DESC(ds);