From 6cf1315f556f88d65201ebd3057faa06ec852bdb Mon Sep 17 00:00:00 2001 From: Oleksij Rempel Date: Sat, 11 May 2013 23:03:22 +0200 Subject: [PATCH] remove unused variable in ah_set11nBurstDuration 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 | 4 ++-- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/target_firmware/wlan/ah.h b/target_firmware/wlan/ah.h index 67d364e..b3ecf98 100755 --- a/target_firmware/wlan/ah.h +++ b/target_firmware/wlan/ah.h @@ -404,8 +404,7 @@ struct ath_hal void __ahdecl(*ah_set11nAggrMiddle)(struct ath_tx_desc *ds, a_uint32_t numDelims); void __ahdecl(*ah_set11nAggrLast)(struct ath_tx_desc *ds); void __ahdecl(*ah_clr11nAggr)(struct ath_tx_desc *ds); - void __ahdecl(*ah_set11nBurstDuration)(struct ath_hal *ah, - struct ath_tx_desc *ds, + void __ahdecl(*ah_set11nBurstDuration)(struct ath_tx_desc *ds, a_uint32_t burstDuration); void __ahdecl(*ah_set11nVirtualMoreFrag)(struct ath_hal *ah, struct ath_tx_desc *ds, a_uint32_t vmf); diff --git a/target_firmware/wlan/ar5416_hw.c b/target_firmware/wlan/ar5416_hw.c index ba1287d..0051e20 100644 --- a/target_firmware/wlan/ar5416_hw.c +++ b/target_firmware/wlan/ar5416_hw.c @@ -910,7 +910,7 @@ void ar5416Clr11nAggr_20(struct ath_tx_desc *ds) ads->ds_ctl1 &= (~AR_IsAggr & ~AR_MoreAggr); } -void ar5416Set11nBurstDuration_20(struct ath_hal *ah, struct ath_tx_desc *ds, +void ar5416Set11nBurstDuration_20(struct ath_tx_desc *ds, a_uint32_t burstDuration) { struct ar5416_desc *ads = AR5416DESC(ds); diff --git a/target_firmware/wlan/ar5416desc.h b/target_firmware/wlan/ar5416desc.h index 9590b89..a422862 100755 --- a/target_firmware/wlan/ar5416desc.h +++ b/target_firmware/wlan/ar5416desc.h @@ -481,7 +481,7 @@ extern void ar5416Set11nAggrMiddle_20(struct ath_tx_desc *ds, a_uint32_t numDelims); extern void ar5416Set11nAggrLast_20(struct ath_tx_desc *ds); extern void ar5416Clr11nAggr_20(struct ath_tx_desc *ds); -extern void ar5416Set11nBurstDuration_20(struct ath_hal *ah, struct ath_tx_desc *ds, +extern void ar5416Set11nBurstDuration_20(struct ath_tx_desc *ds, a_uint32_t burstDuration); extern void ar5416Set11nVirtualMoreFrag_20(struct ath_hal *ah, struct ath_tx_desc *ds, a_uint32_t vmf); diff --git a/target_firmware/wlan/if_owl.c b/target_firmware/wlan/if_owl.c index c1bca50..05ae7a8 100755 --- a/target_firmware/wlan/if_owl.c +++ b/target_firmware/wlan/if_owl.c @@ -988,7 +988,7 @@ ath_tx_freebuf(struct ath_softc_tgt *sc, struct ath_tx_buf *bf) for (bfd = bf->bf_desc, i = 0; i < bf->bf_dmamap_info.nsegs; bfd++, i++) { ah->ah_clr11nAggr(bfd); - ah->ah_set11nBurstDuration(ah, bfd, 0); + ah->ah_set11nBurstDuration(bfd, 0); ah->ah_set11nVirtualMoreFrag(ah, bfd, 0); } @@ -1808,7 +1808,7 @@ ath_tx_retry_subframe(struct ath_softc_tgt *sc, struct ath_tx_buf *bf, for(ds = bf->bf_desc, i = 0; i < bf->bf_dmamap_info.nsegs; ds++, i++) { ah->ah_clr11nAggr(ds); - ah->ah_set11nBurstDuration(ah, ds, 0); + ah->ah_set11nBurstDuration(ds, 0); ah->ah_set11nVirtualMoreFrag(ah, ds, 0); } -- 2.25.1