remove unused variables ah_set11nAggrLast
authorOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 20:57:00 +0000 (22:57 +0200)
committerOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 20:57:00 +0000 (22:57 +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 a847d87637b112af91e0fd3fabfd92bff44868cd..74872455a04e74d0924d7fa262e77b7ce02c93cf 100755 (executable)
@@ -402,8 +402,7 @@ struct ath_hal
        void      __ahdecl(*ah_set11nAggrFirst)(struct ath_tx_desc *ds, a_uint32_t aggrLen,
                                                a_uint32_t numDelims);
        void      __ahdecl(*ah_set11nAggrMiddle)(struct ath_tx_desc *ds, a_uint32_t numDelims);
-       void      __ahdecl(*ah_set11nAggrLast)(struct ath_hal *ah,
-                                              struct ath_tx_desc *ds);
+       void      __ahdecl(*ah_set11nAggrLast)(struct ath_tx_desc *ds);
        void      __ahdecl(*ah_clr11nAggr)(struct ath_hal *ah,
                                           struct ath_tx_desc *ds);
        void      __ahdecl(*ah_set11nBurstDuration)(struct ath_hal *ah,
index ff3c9c8a772cc50d7e83654ca08793f2b8f3e63b..a51f3648088bc6e5b8c1bddfce0692f111b06644 100644 (file)
@@ -894,7 +894,7 @@ void ar5416Set11nAggrMiddle_20(struct ath_tx_desc *ds, a_uint32_t numDelims)
        ads->ds_ctl6 = ctl6;
 }
 
-void ar5416Set11nAggrLast_20(struct ath_hal *ah, struct ath_tx_desc *ds)
+void ar5416Set11nAggrLast_20(struct ath_tx_desc *ds)
 {
        struct ar5416_desc *ads = AR5416DESC(ds);
 
index 5bf3e04f31147f706a08e192b8205da41bf12825..fbef3b934afc3af9b390ed6b310f637b48e65759 100755 (executable)
@@ -479,7 +479,7 @@ extern void ar5416Set11nAggrFirst_20(struct ath_tx_desc *ds,
        a_uint32_t aggrLen, a_uint32_t numDelims);
 extern void ar5416Set11nAggrMiddle_20(struct ath_tx_desc *ds,
        a_uint32_t numDelims);
-extern void ar5416Set11nAggrLast_20(struct ath_hal *ah, struct ath_tx_desc *ds);
+extern void ar5416Set11nAggrLast_20(struct ath_tx_desc *ds);
 extern void ar5416Clr11nAggr_20(struct ath_hal *ah, struct ath_tx_desc *ds);
 extern void ar5416Set11nBurstDuration_20(struct ath_hal *ah, struct ath_tx_desc *ds,
        a_uint32_t burstDuration);
index c719e2ace250e48c022456920c6c9ebcf52805e2..6af0368b4df5bb6e2cce8a016b19a6db4f03c437 100755 (executable)
@@ -1427,7 +1427,7 @@ ath_tgt_tx_sched_aggr(struct ath_softc_tgt *sc, ath_atx_tid_t *tid)
                bf->bf_lastds = bf_last->bf_lastds;
 
                for (i = 0; i < bf_last->bf_dmamap_info.nsegs; i++)
-                       ah->ah_set11nAggrLast(ah, &bf_last->bf_descarr[i]);
+                       ah->ah_set11nAggrLast(&bf_last->bf_descarr[i]);
 
                if (status == ATH_AGGR_8K_LIMITED) {
                        adf_os_assert(0);