remove unused variable in ah_set11nBurstDuration
authorOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 21:03:22 +0000 (23:03 +0200)
committerOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 21:03:22 +0000 (23:03 +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 67d364e905cc5f155aa230f7845cee514cb73a5d..b3ecf980916de6a53e86490881419ecd1e79db82 100755 (executable)
@@ -404,8 +404,7 @@ struct ath_hal
        void      __ahdecl(*ah_set11nAggrMiddle)(struct ath_tx_desc *ds, a_uint32_t numDelims);
        void      __ahdecl(*ah_set11nAggrLast)(struct ath_tx_desc *ds);
        void      __ahdecl(*ah_clr11nAggr)(struct ath_tx_desc *ds);
-       void      __ahdecl(*ah_set11nBurstDuration)(struct ath_hal *ah,
-                                                   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);
index ba1287dbe25b1d6359d9b6d0d210f6753e442699..0051e20cefbe501c1ec7683bb6f446f1ac79cab9 100644 (file)
@@ -910,7 +910,7 @@ void ar5416Clr11nAggr_20(struct ath_tx_desc *ds)
        ads->ds_ctl1 &= (~AR_IsAggr & ~AR_MoreAggr);
 }
 
-void ar5416Set11nBurstDuration_20(struct ath_hal *ah, struct ath_tx_desc *ds,
+void ar5416Set11nBurstDuration_20(struct ath_tx_desc *ds,
                                  a_uint32_t burstDuration)
 {
        struct ar5416_desc *ads = AR5416DESC(ds);
index 9590b89fdbc4460fff71ff97fa928734998dea88..a422862b05bff6a88ccc4b4c610232dcbce5e962 100755 (executable)
@@ -481,7 +481,7 @@ extern void ar5416Set11nAggrMiddle_20(struct ath_tx_desc *ds,
        a_uint32_t numDelims);
 extern void ar5416Set11nAggrLast_20(struct ath_tx_desc *ds);
 extern void ar5416Clr11nAggr_20(struct ath_tx_desc *ds);
-extern void ar5416Set11nBurstDuration_20(struct ath_hal *ah, 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,
        a_uint32_t vmf);
index c1bca506e4b0c2ce415078bda360414e1c46281e..05ae7a8d7d0ac4c1541f1f8040a31bd8503bcd4e 100755 (executable)
@@ -988,7 +988,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(ah, bfd, 0);
+               ah->ah_set11nBurstDuration(bfd, 0);
                ah->ah_set11nVirtualMoreFrag(ah, bfd, 0);
        }
 
@@ -1808,7 +1808,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(ah, ds, 0);
+               ah->ah_set11nBurstDuration(ds, 0);
                ah->ah_set11nVirtualMoreFrag(ah, ds, 0);
        }