Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Aug 2011 02:47:18 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r225277 - user/adrian/if_ath_tx/sys/dev/ath
Message-ID:  <201108310247.p7V2lIXI077417@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Wed Aug 31 02:47:18 2011
New Revision: 225277
URL: http://svn.freebsd.org/changeset/base/225277

Log:
  Remove this ; bf_state is now blanked for us in _ath_getbuf_locked().

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

Modified: user/adrian/if_ath_tx/sys/dev/ath/if_ath_tx.c
==============================================================================
--- user/adrian/if_ath_tx/sys/dev/ath/if_ath_tx.c	Wed Aug 31 01:18:23 2011	(r225276)
+++ user/adrian/if_ath_tx/sys/dev/ath/if_ath_tx.c	Wed Aug 31 02:47:18 2011	(r225277)
@@ -2003,21 +2003,6 @@ ath_tx_swq(struct ath_softc *sc, struct 
 	bf->bf_state.bfs_txq = txq;
 	bf->bf_state.bfs_pri = pri;
 
-	/*
-	 * blank out fields which will be overridden if needed
-	 * Don't touch bfs_dobaw - that's already been set by
-	 * ath_tx_start().
-	 */
-	bf->bf_state.bfs_aggr = 0;
-	bf->bf_state.bfs_aggrburst = 0;
-	bf->bf_next = NULL;
-	bf->bf_state.bfs_retries = 0;
-	bf->bf_state.bfs_isretried = 0;
-	bf->bf_state.bfs_ndelim = 0;
-	bf->bf_state.bfs_nframes = 0;
-	bf->bf_state.bfs_al = 0;
-	bf->bf_state.bfs_addedbaw = 0;
-
 	/* Queue frame to the tail of the software queue */
 	ATH_TXQ_LOCK(txq);
 	ATH_TXQ_INSERT_TAIL(atid, bf, bf_list);



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