From 8bd4d998c487e1247ea94c74060c16be96416920 Mon Sep 17 00:00:00 2001 From: Oleksij Rempel Date: Sat, 11 May 2013 22:01:41 +0200 Subject: [PATCH] remove unused variables on ah_fillKeyTxDesc Signed-off-by: Oleksij Rempel --- target_firmware/wlan/ah.h | 2 +- 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(+), 4 deletions(-) diff --git a/target_firmware/wlan/ah.h b/target_firmware/wlan/ah.h index 4b3e845..c5769b7 100755 --- a/target_firmware/wlan/ah.h +++ b/target_firmware/wlan/ah.h @@ -426,7 +426,7 @@ struct ath_hal HAL_BOOL __ahdecl(*ah_fillTxDesc)(struct ath_tx_desc *, a_uint32_t segLen, HAL_BOOL firstSeg, HAL_BOOL lastSeg, const struct ath_tx_desc *); - HAL_BOOL __ahdecl (*ah_fillKeyTxDesc) (struct ath_hal *, struct ath_tx_desc *, HAL_KEY_TYPE); + HAL_BOOL __ahdecl (*ah_fillKeyTxDesc) (struct ath_tx_desc *, HAL_KEY_TYPE); HAL_STATUS __ahdecl(*ah_procTxDesc)(struct ath_hal *, struct ath_tx_desc *); HAL_BOOL __ahdecl(*ah_setBssIdMask)(struct ath_hal *, const a_uint8_t*); void __ahdecl(*ah_setPCUConfig)(struct ath_hal *); diff --git a/target_firmware/wlan/ar5416_hw.c b/target_firmware/wlan/ar5416_hw.c index 27aae5d..da540cb 100644 --- a/target_firmware/wlan/ar5416_hw.c +++ b/target_firmware/wlan/ar5416_hw.c @@ -701,7 +701,7 @@ HAL_BOOL ar5416FillTxDesc_20(struct ath_tx_desc *ds, return AH_TRUE; } -HAL_BOOL ar5416FillKeyTxDesc_20(struct ath_hal *ah, struct ath_tx_desc *ds, +HAL_BOOL ar5416FillKeyTxDesc_20(struct ath_tx_desc *ds, HAL_KEY_TYPE keyType) { struct ar5416_desc *ads = AR5416DESC(ds); diff --git a/target_firmware/wlan/ar5416desc.h b/target_firmware/wlan/ar5416desc.h index 8448b67..aabdabb 100755 --- a/target_firmware/wlan/ar5416desc.h +++ b/target_firmware/wlan/ar5416desc.h @@ -466,7 +466,7 @@ extern HAL_BOOL ar5416SetupTxDesc_20(struct ath_tx_desc *ds, extern HAL_BOOL ar5416FillTxDesc_20(struct ath_tx_desc *ds, a_uint32_t segLen, HAL_BOOL firstSeg, HAL_BOOL lastSeg, const struct ath_tx_desc *ds0); -extern HAL_BOOL ar5416FillKeyTxDesc_20(struct ath_hal *ah, struct ath_tx_desc *,HAL_KEY_TYPE); +extern HAL_BOOL ar5416FillKeyTxDesc_20(struct ath_tx_desc *,HAL_KEY_TYPE); extern HAL_STATUS ar5416ProcTxDesc_20(struct ath_hal *ah, struct ath_tx_desc *); extern void ar5416Set11nTxDesc_20(struct ath_hal *ah, struct ath_tx_desc *ds, diff --git a/target_firmware/wlan/if_owl.c b/target_firmware/wlan/if_owl.c index 890aa7f..b1d806f 100755 --- a/target_firmware/wlan/if_owl.c +++ b/target_firmware/wlan/if_owl.c @@ -1220,7 +1220,7 @@ ath_tgt_send_mgt(struct ath_softc_tgt *sc,adf_nbuf_t hdr_buf, adf_nbuf_t skb, */ if (iswep && (keyix != HAL_TXKEYIX_INVALID) && (wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) == IEEE80211_FC0_SUBTYPE_AUTH) - ah->ah_fillKeyTxDesc(ah, ds, mh->keytype); + ah->ah_fillKeyTxDesc(ds, mh->keytype); ath_filltxdesc(sc, bf); -- 2.31.1