remove unused variables on ah_fillKeyTxDesc
[open-ath9k-htc-firmware.git] / target_firmware / wlan / if_owl.c
index cececaf59cf1d40862a8bd887c00286fe108f877..b1d806fe567f1b2085108227f4fb45a1b735ad7b 100755 (executable)
@@ -253,7 +253,7 @@ static void ath_filltxdesc(struct ath_softc_tgt *sc, struct ath_tx_buf *bf)
                } else
                        ds->ds_link = ATH_BUF_GET_DESC_PHY_ADDR_WITH_IDX(bf, i+1);
 
-               ah->ah_fillTxDesc(ah, ds
+               ah->ah_fillTxDesc(ds
                                   , bf->bf_dmamap_info.dma_segs[i].len
                                   , i == 0
                                   , i == (bf->bf_dmamap_info.nsegs - 1)
@@ -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);