remove ar5416GetTsf32
authorOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 08:34:17 +0000 (10:34 +0200)
committerOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 14:10:06 +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 62031d70d7ddd31e43d8048932443961fb0c7179..6694d76a7207acbdff25f653999a4d86d302d149 100755 (executable)
@@ -440,8 +440,7 @@ struct ath_hal
        void      __ahdecl(*ah_setPCUConfig)(struct ath_hal *);
        void      __ahdecl(*ah_setMulticastFilter)(struct ath_hal*,
                                                   a_uint32_t filter0, a_uint32_t filter1);
-           
-       a_uint32_t __ahdecl(*ah_getTsf32)(struct ath_hal*);
+
        u_int64_t __ahdecl(*ah_getTsf64)(struct ath_hal*);
        void      __ahdecl(*ah_resetTsf)(struct ath_hal*);
            
index 947e9a02a8342d26804420d7ee792fda1837eb56..c58aac91983906a2b9cb312d978403764f33beda 100644 (file)
@@ -65,7 +65,6 @@ static const struct ath_hal_private ar5416hal_10 = {{
                .ah_abortTxDma          = ar5416AbortTxDma,
 
                /* Misc Functions */
-               .ah_getTsf32            = ar5416GetTsf32,
                .ah_getTsf64            = ar5416GetTsf64,
                .ah_resetTsf            = ar5416ResetTsf,
                .ah_setRxFilter         = ar5416SetRxFilter,
@@ -299,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;