remove ar5416GetTsf32
[open-ath9k-htc-firmware.git] / target_firmware / wlan / ar5416_hw.c
index d1ceb66deb0e3d2515815bad81cf15c0b58cb184..c58aac91983906a2b9cb312d978403764f33beda 100644 (file)
@@ -61,12 +61,10 @@ 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 */
-               .ah_getTsf32            = ar5416GetTsf32,
                .ah_getTsf64            = ar5416GetTsf64,
                .ah_resetTsf            = ar5416ResetTsf,
                .ah_setRxFilter         = ar5416SetRxFilter,
@@ -300,11 +298,6 @@ u_int64_t ar5416GetTsf64(struct ath_hal *ah)
         return tsf;
 }
 
-a_uint32_t ar5416GetTsf32(struct ath_hal *ah)
-{
-        return OS_REG_READ(ah, AR_TSF_L32);
-}
-
 void ar5416ResetTsf(struct ath_hal *ah)
 {
        a_int32_t count;
@@ -689,13 +682,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);