remove ar5416GetRxDP
authorOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 08:47:26 +0000 (10:47 +0200)
committerOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 14:10:07 +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 0633382131994d7d6ad2a80d8990a1ea07828024..4e3ab429c48e1495701b17764f3dad03d35cea5c 100755 (executable)
@@ -444,7 +444,6 @@ struct ath_hal
        u_int64_t __ahdecl(*ah_getTsf64)(struct ath_hal*);
            
        /* Target receive Functions */
-       a_uint32_t __ahdecl(*ah_getRxDP)(struct ath_hal*);
        void       __ahdecl(*ah_setRxDP)(struct ath_hal*, a_uint32_t rxdp);
        HAL_BOOL  __ahdecl(*ah_setupRxDesc)(struct ath_hal *, struct ath_rx_desc *,
                                            a_uint32_t size, a_uint32_t flags);
index c3e08ea609cded18744223b8c018c97a7d67aa3c..23ca4937a047e1d68a457d8df9e0face3ca3b89d 100644 (file)
@@ -69,7 +69,6 @@ static const struct ath_hal_private ar5416hal_10 = {{
                .ah_setRxFilter         = ar5416SetRxFilter,
 
                /* RX Functions */
-               .ah_getRxDP             = ar5416GetRxDP,
                .ah_setRxDP             = ar5416SetRxDP,
                .ah_stopDmaReceive      = ar5416StopDmaReceive,
                .ah_enableReceive       = ar5416EnableReceive,
@@ -300,13 +299,6 @@ u_int64_t ar5416GetTsf64(struct ath_hal *ah)
 /******/
 /* RX */
 /******/
-
-a_uint32_t ar5416GetRxDP(struct ath_hal *ath)
-{
-       return OS_REG_READ(ath, AR_RXDP);
-}
-
-
 void ar5416SetRxDP(struct ath_hal *ah, a_uint32_t rxdp)
 {
        OS_REG_WRITE(ah, AR_RXDP, rxdp);