Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Nov 2011 21:59:01 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r227804 - head/sys/dev/ath
Message-ID:  <201111212159.pALLx1K9061394@svn.freebsd.org>

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



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