summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2011-11-21 21:59:01 +0000
committeradrian <adrian@FreeBSD.org>2011-11-21 21:59:01 +0000
commit08ecf874bb3cc09a324985ab9315883462c59ae8 (patch)
tree788b293087e37a335130c35fbea28e9f22fcf264
parente4473aeb7721fb7d340dc3546a764d7c0acff152 (diff)
downloadFreeBSD-src-08ecf874bb3cc09a324985ab9315883462c59ae8.zip
FreeBSD-src-08ecf874bb3cc09a324985ab9315883462c59ae8.tar.gz
Fix some whitespace pollution.
-rw-r--r--sys/dev/ath/if_ath.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c
index f474daa..462bc3f 100644
--- a/sys/dev/ath/if_ath.c
+++ b/sys/dev/ath/if_ath.c
@@ -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--;
OpenPOWER on IntegriCloud