From: Oleksij Rempel Date: Sat, 11 May 2013 21:07:12 +0000 (+0200) Subject: remove unused variables ah_set11nVirtualMoreFrag X-Git-Tag: 1.4.0~12^2^2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=40d4865c8791184b3b30f62be5fe606e55e1c246;p=librecmc%2Fopen-ath9k-htc-firmware.git remove unused variables ah_set11nVirtualMoreFrag Signed-off-by: Oleksij Rempel --- diff --git a/target_firmware/wlan/ah.h b/target_firmware/wlan/ah.h index b3ecf98..b11d058 100755 --- a/target_firmware/wlan/ah.h +++ b/target_firmware/wlan/ah.h @@ -406,8 +406,7 @@ struct ath_hal void __ahdecl(*ah_clr11nAggr)(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); + void __ahdecl(*ah_set11nVirtualMoreFrag)(struct ath_tx_desc *ds, a_uint32_t vmf); HAL_BOOL __ahdecl(*ah_setupTxDesc)(struct ath_tx_desc *, a_uint32_t pktLen, a_uint32_t hdrLen, diff --git a/target_firmware/wlan/ar5416_hw.c b/target_firmware/wlan/ar5416_hw.c index 0051e20..a67ce17 100644 --- a/target_firmware/wlan/ar5416_hw.c +++ b/target_firmware/wlan/ar5416_hw.c @@ -919,7 +919,7 @@ void ar5416Set11nBurstDuration_20(struct ath_tx_desc *ds, ads->ds_ctl2 |= SM(burstDuration, AR_BurstDur); } -void ar5416Set11nVirtualMoreFrag_20(struct ath_hal *ah, struct ath_tx_desc *ds, +void ar5416Set11nVirtualMoreFrag_20(struct ath_tx_desc *ds, a_uint32_t vmf) { struct ar5416_desc *ads = AR5416DESC(ds); diff --git a/target_firmware/wlan/ar5416desc.h b/target_firmware/wlan/ar5416desc.h index a422862..a56bd54 100755 --- a/target_firmware/wlan/ar5416desc.h +++ b/target_firmware/wlan/ar5416desc.h @@ -483,7 +483,7 @@ extern void ar5416Set11nAggrLast_20(struct ath_tx_desc *ds); extern void ar5416Clr11nAggr_20(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, +extern void ar5416Set11nVirtualMoreFrag_20(struct ath_tx_desc *ds, a_uint32_t vmf); extern HAL_BOOL ar5416SetupRxDesc_20(struct ath_rx_desc *, a_uint32_t size, a_uint32_t flags); diff --git a/target_firmware/wlan/if_owl.c b/target_firmware/wlan/if_owl.c index 05ae7a8..b66d276 100755 --- a/target_firmware/wlan/if_owl.c +++ b/target_firmware/wlan/if_owl.c @@ -989,7 +989,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(bfd, 0); - ah->ah_set11nVirtualMoreFrag(ah, bfd, 0); + ah->ah_set11nVirtualMoreFrag(bfd, 0); } ath_dma_unmap(sc, bf); @@ -1809,7 +1809,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(ds, 0); - ah->ah_set11nVirtualMoreFrag(ah, ds, 0); + ah->ah_set11nVirtualMoreFrag(ds, 0); } if (bf->bf_retries >= OWLMAX_RETRIES) {