remove unused variables in ah_set11nAggrFirst
authorOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 20:45:45 +0000 (22:45 +0200)
committerOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 20:45:45 +0000 (22:45 +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 d7a71f128d37e8d627504b4a5e813097a137dbed..ed083984cfcd53d1fafa37c5d7acd1bed4bbdf78 100755 (executable)
@@ -399,8 +399,7 @@ struct ath_hal
                                                   a_uint32_t rtsctsRate,
                                                   HAL_11N_RATE_SERIES series[],
                                                   a_uint32_t nseries, a_uint32_t flags);
-       void      __ahdecl(*ah_set11nAggrFirst)(struct ath_hal *ah,
-                                               struct ath_tx_desc *ds, a_uint32_t aggrLen,
+       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);
index be3f22a2e85967975408b93ea98b4c4f34bacd3e..614399c231920cef73f31bdbfeffbde77522dc71 100644 (file)
@@ -865,7 +865,7 @@ void ar5416Set11nRateScenario_20(struct ath_tx_desc *ds,
                                   | SM(rtsctsRate, AR_RTSCTSRate);
 }
 
-void ar5416Set11nAggrFirst_20(struct ath_hal *ah, struct ath_tx_desc *ds, a_uint32_t aggrLen,
+void ar5416Set11nAggrFirst_20(struct ath_tx_desc *ds, a_uint32_t aggrLen,
                              a_uint32_t numDelims)
 {
        struct ar5416_desc *ads = AR5416DESC(ds);
index 429f26d71c39faef45fa356460acfd01f44634b9..ef73f66f955191f5672d5033b7824a9d93bd8a9b 100755 (executable)
@@ -475,7 +475,7 @@ extern void ar5416Set11nTxDesc_20(struct ath_tx_desc *ds,
 extern void ar5416Set11nRateScenario_20(struct ath_tx_desc *ds,
        a_uint32_t durUpdateEn, a_uint32_t rtsctsRate, HAL_11N_RATE_SERIES series[], 
        a_uint32_t nseries, a_uint32_t flags);
-extern void ar5416Set11nAggrFirst_20(struct ath_hal *ah, struct ath_tx_desc *ds,
+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,
        a_uint32_t numDelims);
index 9e983d56db1943f12979dd6daa5aa45d261b34e4..218c77b5286a4214b3709b19b15e99c5144f5fd8 100755 (executable)
@@ -1422,7 +1422,7 @@ ath_tgt_tx_sched_aggr(struct ath_softc_tgt *sc, ath_atx_tid_t *tid)
 
                bf->bf_isaggr  = 1;
                ath_buf_set_rate(sc, bf);
-               ah->ah_set11nAggrFirst(ah, bf->bf_desc, bf->bf_al,
+               ah->ah_set11nAggrFirst(bf->bf_desc, bf->bf_al,
                                          bf->bf_ndelim);
                bf->bf_lastds = bf_last->bf_lastds;