From: Oleksij Rempel Date: Sat, 11 May 2013 20:57:00 +0000 (+0200) Subject: remove unused variables ah_set11nAggrLast X-Git-Tag: 1.4.0~12^2^2~3 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=06cff5a9bab3d4424ad8c56fef99982d9349181d;p=open-ath9k-htc-firmware.git remove unused variables ah_set11nAggrLast Signed-off-by: Oleksij Rempel --- diff --git a/target_firmware/wlan/ah.h b/target_firmware/wlan/ah.h index a847d87..7487245 100755 --- a/target_firmware/wlan/ah.h +++ b/target_firmware/wlan/ah.h @@ -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, diff --git a/target_firmware/wlan/ar5416_hw.c b/target_firmware/wlan/ar5416_hw.c index ff3c9c8..a51f364 100644 --- a/target_firmware/wlan/ar5416_hw.c +++ b/target_firmware/wlan/ar5416_hw.c @@ -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); diff --git a/target_firmware/wlan/ar5416desc.h b/target_firmware/wlan/ar5416desc.h index 5bf3e04..fbef3b9 100755 --- a/target_firmware/wlan/ar5416desc.h +++ b/target_firmware/wlan/ar5416desc.h @@ -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); diff --git a/target_firmware/wlan/if_owl.c b/target_firmware/wlan/if_owl.c index c719e2a..6af0368 100755 --- a/target_firmware/wlan/if_owl.c +++ b/target_firmware/wlan/if_owl.c @@ -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);