svn commit: r225277 - user/adrian/if_ath_tx/sys/dev/ath
Adrian Chadd
adrian at FreeBSD.org
Wed Aug 31 02:47:19 UTC 2011
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);
More information about the svn-src-user
mailing list