remove unused variables on ah_fillKeyTxDesc
authorOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 20:01:41 +0000 (22:01 +0200)
committerOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 20:01:41 +0000 (22:01 +0200)
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
target_firmware/wlan/ah.h
target_firmware/wlan/ar5416_hw.c
target_firmware/wlan/ar5416desc.h
target_firmware/wlan/if_owl.c

index 4b3e8451fe68d14fa3fdeea73241d8d484073168..c5769b76fd4f1a1238e5b5b3c1afaeab32470bc2 100755 (executable)
@@ -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 *);
index 27aae5dc0d7044b0c4dfce144f6065704323d270..da540cb1114c257e6c320caa0c4e45eceaa0cff3 100644 (file)
@@ -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);
index 8448b671d5e7e0bcf7509b3b0411bf8c8c080e13..aabdabbbc4d969f0f87be1d17d465e4dac165c9d 100755 (executable)
@@ -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,
index 890aa7fad0db860751781ee616174ec5878311ca..b1d806fe567f1b2085108227f4fb45a1b735ad7b 100755 (executable)
@@ -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);