svn commit: r225555 - user/adrian/if_ath_tx/sys/dev/ath

Adrian Chadd adrian at FreeBSD.org
Wed Sep 14 14:37:55 UTC 2011


Author: adrian
Date: Wed Sep 14 14:37:54 2011
New Revision: 225555
URL: http://svn.freebsd.org/changeset/base/225555

Log:
  Remove unused ds0 variable.

Modified:
  user/adrian/if_ath_tx/sys/dev/ath/if_ath.c

Modified: user/adrian/if_ath_tx/sys/dev/ath/if_ath.c
==============================================================================
--- user/adrian/if_ath_tx/sys/dev/ath/if_ath.c	Wed Sep 14 13:27:24 2011	(r225554)
+++ user/adrian/if_ath_tx/sys/dev/ath/if_ath.c	Wed Sep 14 14:37:54 2011	(r225555)
@@ -4314,7 +4314,7 @@ ath_tx_processq(struct ath_softc *sc, st
 {
 	struct ath_hal *ah = sc->sc_ah;
 	struct ath_buf *bf, *last;
-	struct ath_desc *ds, *ds0;
+	struct ath_desc *ds;
 	struct ath_tx_status *ts;
 	struct ieee80211_node *ni;
 	struct ath_node *an;
@@ -4333,7 +4333,6 @@ ath_tx_processq(struct ath_softc *sc, st
 		if (bf == NULL) {
 			break;
 		}
-		ds0 = &bf->bf_desc[0];
 		ds = bf->bf_lastds;	/* XXX must be setup correctly! */
 		ts = &bf->bf_status.ds_txstat;
 		status = ath_hal_txprocdesc(ah, ds, ts);


More information about the svn-src-user mailing list