Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Sep 2011 14:37:54 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r225555 - user/adrian/if_ath_tx/sys/dev/ath
Message-ID:  <201109141437.p8EEbsG6030533@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109141437.p8EEbsG6030533>