remove unused variables ah_set11nVirtualMoreFrag
authorOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 21:07:12 +0000 (23:07 +0200)
committerOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 21:07:12 +0000 (23:07 +0200)
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
target_firmware/wlan/ah.h
target_firmware/wlan/ar5416_hw.c
target_firmware/wlan/ar5416desc.h
target_firmware/wlan/if_owl.c

index b3ecf980916de6a53e86490881419ecd1e79db82..b11d0582b1e2f3a7a62430ce192b780e750c344b 100755 (executable)
@@ -406,8 +406,7 @@ struct ath_hal
        void      __ahdecl(*ah_clr11nAggr)(struct ath_tx_desc *ds);
        void      __ahdecl(*ah_set11nBurstDuration)(struct ath_tx_desc *ds,
                                                    a_uint32_t burstDuration);
-       void      __ahdecl(*ah_set11nVirtualMoreFrag)(struct ath_hal *ah,
-                                                     struct ath_tx_desc *ds, a_uint32_t vmf);
+       void      __ahdecl(*ah_set11nVirtualMoreFrag)(struct ath_tx_desc *ds, a_uint32_t vmf);
            
        HAL_BOOL  __ahdecl(*ah_setupTxDesc)(struct ath_tx_desc *,
                                            a_uint32_t pktLen, a_uint32_t hdrLen,
index 0051e20cefbe501c1ec7683bb6f446f1ac79cab9..a67ce1781e13c0e659e67fbdab3a3233f89b7e1b 100644 (file)
@@ -919,7 +919,7 @@ void ar5416Set11nBurstDuration_20(struct ath_tx_desc *ds,
        ads->ds_ctl2 |= SM(burstDuration, AR_BurstDur);
 }
 
-void ar5416Set11nVirtualMoreFrag_20(struct ath_hal *ah, struct ath_tx_desc *ds,
+void ar5416Set11nVirtualMoreFrag_20(struct ath_tx_desc *ds,
                                    a_uint32_t vmf)
 {
        struct ar5416_desc *ads = AR5416DESC(ds);
index a422862b05bff6a88ccc4b4c610232dcbce5e962..a56bd54b3d8f4641710c8d86a9c1bb21dba4251d 100755 (executable)
@@ -483,7 +483,7 @@ extern void ar5416Set11nAggrLast_20(struct ath_tx_desc *ds);
 extern void ar5416Clr11nAggr_20(struct ath_tx_desc *ds);
 extern void ar5416Set11nBurstDuration_20(struct ath_tx_desc *ds,
        a_uint32_t burstDuration);
-extern void ar5416Set11nVirtualMoreFrag_20(struct ath_hal *ah, struct ath_tx_desc *ds,
+extern void ar5416Set11nVirtualMoreFrag_20(struct ath_tx_desc *ds,
        a_uint32_t vmf);
 extern  HAL_BOOL ar5416SetupRxDesc_20(struct ath_rx_desc *,
                                                                          a_uint32_t size, a_uint32_t flags);
index 05ae7a8d7d0ac4c1541f1f8040a31bd8503bcd4e..b66d2767e04c0043cf46fe4ccb05793bd5caa340 100755 (executable)
@@ -989,7 +989,7 @@ ath_tx_freebuf(struct ath_softc_tgt *sc, struct ath_tx_buf *bf)
        for (bfd = bf->bf_desc, i = 0; i < bf->bf_dmamap_info.nsegs; bfd++, i++) {
                ah->ah_clr11nAggr(bfd);
                ah->ah_set11nBurstDuration(bfd, 0);
-               ah->ah_set11nVirtualMoreFrag(ah, bfd, 0);
+               ah->ah_set11nVirtualMoreFrag(bfd, 0);
        }
 
        ath_dma_unmap(sc, bf);
@@ -1809,7 +1809,7 @@ ath_tx_retry_subframe(struct ath_softc_tgt *sc, struct ath_tx_buf *bf,
        for(ds = bf->bf_desc, i = 0; i < bf->bf_dmamap_info.nsegs; ds++, i++) {
                ah->ah_clr11nAggr(ds);
                ah->ah_set11nBurstDuration(ds, 0);
-               ah->ah_set11nVirtualMoreFrag(ah, ds, 0);
+               ah->ah_set11nVirtualMoreFrag(ds, 0);
        }
 
        if (bf->bf_retries >= OWLMAX_RETRIES) {