From db0274a50aa0f2e6ada472d88054a22c860e2f2c Mon Sep 17 00:00:00 2001 From: Oleksij Rempel Date: Sat, 11 May 2013 22:45:45 +0200 Subject: [PATCH] remove unused variables in ah_set11nAggrFirst Signed-off-by: Oleksij Rempel --- target_firmware/wlan/ah.h | 3 +-- target_firmware/wlan/ar5416_hw.c | 2 +- target_firmware/wlan/ar5416desc.h | 2 +- target_firmware/wlan/if_owl.c | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/target_firmware/wlan/ah.h b/target_firmware/wlan/ah.h index d7a71f1..ed08398 100755 --- a/target_firmware/wlan/ah.h +++ b/target_firmware/wlan/ah.h @@ -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); diff --git a/target_firmware/wlan/ar5416_hw.c b/target_firmware/wlan/ar5416_hw.c index be3f22a..614399c 100644 --- a/target_firmware/wlan/ar5416_hw.c +++ b/target_firmware/wlan/ar5416_hw.c @@ -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); diff --git a/target_firmware/wlan/ar5416desc.h b/target_firmware/wlan/ar5416desc.h index 429f26d..ef73f66 100755 --- a/target_firmware/wlan/ar5416desc.h +++ b/target_firmware/wlan/ar5416desc.h @@ -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); diff --git a/target_firmware/wlan/if_owl.c b/target_firmware/wlan/if_owl.c index 9e983d5..218c77b 100755 --- a/target_firmware/wlan/if_owl.c +++ b/target_firmware/wlan/if_owl.c @@ -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; -- 2.25.1