remove unused variables in ah_set11nTxDesc
[open-ath9k-htc-firmware.git] / target_firmware / wlan / if_owl.c
index cececaf59cf1d40862a8bd887c00286fe108f877..1806447895a3190432020e86c88052d0241f028d 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)
@@ -277,7 +277,7 @@ static void ath_tx_tgt_setds(struct ath_softc_tgt *sc, struct ath_tx_buf *bf)
                break;
        }
 
-       ah->ah_set11nTxDesc(ah, ds
+       ah->ah_set11nTxDesc(ds
                              , bf->bf_pktlen
                              , bf->bf_atype
                              , 60
@@ -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);