svn commit: r227804 - head/sys/dev/ath
Adrian Chadd
adrian at FreeBSD.org
Mon Nov 21 21:59:02 UTC 2011
Author: adrian
Date: Mon Nov 21 21:59:01 2011
New Revision: 227804
URL: http://svn.freebsd.org/changeset/base/227804
Log:
Fix some whitespace pollution.
Modified:
head/sys/dev/ath/if_ath.c
Modified: head/sys/dev/ath/if_ath.c
==============================================================================
--- head/sys/dev/ath/if_ath.c Mon Nov 21 20:33:18 2011 (r227803)
+++ head/sys/dev/ath/if_ath.c Mon Nov 21 21:59:01 2011 (r227804)
@@ -1864,12 +1864,10 @@ ath_txrx_stop(struct ath_softc *sc)
int i = MAX_TXRX_ITERATIONS;
ATH_UNLOCK_ASSERT(sc);
-
/* Stop any new TX/RX from occuring */
taskqueue_block(sc->sc_tq);
ATH_PCU_LOCK(sc);
-
/*
* Sleep until all the pending operations have completed.
*
@@ -1878,7 +1876,7 @@ ath_txrx_stop(struct ath_softc *sc)
*/
while (sc->sc_rxproc_cnt || sc->sc_txproc_cnt ||
sc->sc_txstart_cnt || sc->sc_intr_cnt) {
- if (i <= 0)
+ if (i <= 0)
break;
msleep(sc, &sc->sc_mtx, 0, "ath_txrx_stop", 1);
i--;
More information about the svn-src-all
mailing list