Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3de21116 authored by Rajkumar Manoharan's avatar Rajkumar Manoharan Committed by John W. Linville
Browse files

ath9k: Remove unused argument tsf from ath9k_hw_rxprocdesc

parent 29ab0b36
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -564,7 +564,7 @@ bool ath9k_hw_resettxqueue(struct ath_hw *ah, u32 q)
EXPORT_SYMBOL(ath9k_hw_resettxqueue);
EXPORT_SYMBOL(ath9k_hw_resettxqueue);


int ath9k_hw_rxprocdesc(struct ath_hw *ah, struct ath_desc *ds,
int ath9k_hw_rxprocdesc(struct ath_hw *ah, struct ath_desc *ds,
			struct ath_rx_status *rs, u64 tsf)
			struct ath_rx_status *rs)
{
{
	struct ar5416_desc ads;
	struct ar5416_desc ads;
	struct ar5416_desc *adsp = AR5416DESC(ds);
	struct ar5416_desc *adsp = AR5416DESC(ds);
+1 −1
Original line number Original line Diff line number Diff line
@@ -687,7 +687,7 @@ int ath9k_hw_setuptxqueue(struct ath_hw *ah, enum ath9k_tx_queue type,
bool ath9k_hw_releasetxqueue(struct ath_hw *ah, u32 q);
bool ath9k_hw_releasetxqueue(struct ath_hw *ah, u32 q);
bool ath9k_hw_resettxqueue(struct ath_hw *ah, u32 q);
bool ath9k_hw_resettxqueue(struct ath_hw *ah, u32 q);
int ath9k_hw_rxprocdesc(struct ath_hw *ah, struct ath_desc *ds,
int ath9k_hw_rxprocdesc(struct ath_hw *ah, struct ath_desc *ds,
			struct ath_rx_status *rs, u64 tsf);
			struct ath_rx_status *rs);
void ath9k_hw_setuprxdesc(struct ath_hw *ah, struct ath_desc *ds,
void ath9k_hw_setuprxdesc(struct ath_hw *ah, struct ath_desc *ds,
			  u32 size, u32 flags);
			  u32 size, u32 flags);
bool ath9k_hw_setrxabort(struct ath_hw *ah, bool set);
bool ath9k_hw_setrxabort(struct ath_hw *ah, bool set);
+2 −2
Original line number Original line Diff line number Diff line
@@ -761,7 +761,7 @@ static struct ath_buf *ath_get_next_rx_buf(struct ath_softc *sc,
	 * on.  All this is necessary because of our use of
	 * on.  All this is necessary because of our use of
	 * a self-linked list to avoid rx overruns.
	 * a self-linked list to avoid rx overruns.
	 */
	 */
	ret = ath9k_hw_rxprocdesc(ah, ds, rs, 0);
	ret = ath9k_hw_rxprocdesc(ah, ds, rs);
	if (ret == -EINPROGRESS) {
	if (ret == -EINPROGRESS) {
		struct ath_rx_status trs;
		struct ath_rx_status trs;
		struct ath_buf *tbf;
		struct ath_buf *tbf;
@@ -787,7 +787,7 @@ static struct ath_buf *ath_get_next_rx_buf(struct ath_softc *sc,
		 */
		 */


		tds = tbf->bf_desc;
		tds = tbf->bf_desc;
		ret = ath9k_hw_rxprocdesc(ah, tds, &trs, 0);
		ret = ath9k_hw_rxprocdesc(ah, tds, &trs);
		if (ret == -EINPROGRESS)
		if (ret == -EINPROGRESS)
			return NULL;
			return NULL;
	}
	}