remove unused variable ah_set11nAggrMiddle
authorOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 20:49:11 +0000 (22:49 +0200)
committerOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 20:49:11 +0000 (22:49 +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 ed083984cfcd53d1fafa37c5d7acd1bed4bbdf78..a847d87637b112af91e0fd3fabfd92bff44868cd 100755 (executable)
@@ -401,8 +401,7 @@ struct ath_hal
                                                   a_uint32_t nseries, a_uint32_t flags);
        void      __ahdecl(*ah_set11nAggrFirst)(struct ath_tx_desc *ds, a_uint32_t aggrLen,
                                                a_uint32_t numDelims);
-       void      __ahdecl(*ah_set11nAggrMiddle)(struct ath_hal *ah,
-                                                struct ath_tx_desc *ds, 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_clr11nAggr)(struct ath_hal *ah,
index 614399c231920cef73f31bdbfeffbde77522dc71..ff3c9c8a772cc50d7e83654ca08793f2b8f3e63b 100644 (file)
@@ -877,7 +877,7 @@ void ar5416Set11nAggrFirst_20(struct ath_tx_desc *ds, a_uint32_t aggrLen,
                SM(numDelims, AR_PadDelim);
 }
 
-void ar5416Set11nAggrMiddle_20(struct ath_hal *ah, struct ath_tx_desc *ds, a_uint32_t numDelims)
+void ar5416Set11nAggrMiddle_20(struct ath_tx_desc *ds, a_uint32_t numDelims)
 {
        struct ar5416_desc *ads = AR5416DESC(ds);
        a_uint32_t ctl6;
index ef73f66f955191f5672d5033b7824a9d93bd8a9b..5bf3e04f31147f706a08e192b8205da41bf12825 100755 (executable)
@@ -477,7 +477,7 @@ extern void ar5416Set11nRateScenario_20(struct ath_tx_desc *ds,
        a_uint32_t nseries, a_uint32_t flags);
 extern void ar5416Set11nAggrFirst_20(struct ath_tx_desc *ds,
        a_uint32_t aggrLen, a_uint32_t numDelims);
-extern void ar5416Set11nAggrMiddle_20(struct ath_hal *ah, struct ath_tx_desc *ds,
+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 ar5416Clr11nAggr_20(struct ath_hal *ah, struct ath_tx_desc *ds);
index 218c77b5286a4214b3709b19b15e99c5144f5fd8..c719e2ace250e48c022456920c6c9ebcf52805e2 100755 (executable)
@@ -1572,7 +1572,7 @@ int ath_tgt_tx_form_aggr(struct ath_softc_tgt *sc, ath_atx_tid_t *tid,
                bf_prev = bf;
 
                for(ds = bf->bf_desc; ds <= bf->bf_lastds; ds++)
-                       ah->ah_set11nAggrMiddle(ah, ds, bf->bf_ndelim);
+                       ah->ah_set11nAggrMiddle(ds, bf->bf_ndelim);
 
        } while (!asf_tailq_empty(&tid->buf_q));