Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Aug 2012 22:54:10 +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: r239111 - head/sys/dev/ath
Message-ID:  <201208062254.q76MsAxh092119@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Mon Aug  6 22:54:10 2012
New Revision: 239111
URL: http://svn.freebsd.org/changeset/base/239111

Log:
  Remove unnecessary debugging printf()s.

Modified:
  head/sys/dev/ath/if_ath_rx.c
  head/sys/dev/ath/if_ath_rx_edma.c

Modified: head/sys/dev/ath/if_ath_rx.c
==============================================================================
--- head/sys/dev/ath/if_ath_rx.c	Mon Aug  6 22:53:24 2012	(r239110)
+++ head/sys/dev/ath/if_ath_rx.c	Mon Aug  6 22:54:10 2012	(r239111)
@@ -1072,8 +1072,6 @@ ath_legacy_dma_rxsetup(struct ath_softc 
 {
 	int error;
 
-	device_printf(sc->sc_dev, "%s: called\n", __func__);
-
 	error = ath_descdma_setup(sc, &sc->sc_rxdma, &sc->sc_rxbuf,
 	    "rx", sizeof(struct ath_desc), ath_rxbuf, 1);
 	if (error != 0)
@@ -1086,8 +1084,6 @@ static int
 ath_legacy_dma_rxteardown(struct ath_softc *sc)
 {
 
-	device_printf(sc->sc_dev, "%s: called\n", __func__);
-	
 	if (sc->sc_rxdma.dd_desc_len != 0)
 		ath_descdma_cleanup(sc, &sc->sc_rxdma, &sc->sc_rxbuf);
 	return (0);

Modified: head/sys/dev/ath/if_ath_rx_edma.c
==============================================================================
--- head/sys/dev/ath/if_ath_rx_edma.c	Mon Aug  6 22:53:24 2012	(r239110)
+++ head/sys/dev/ath/if_ath_rx_edma.c	Mon Aug  6 22:54:10 2012	(r239111)
@@ -507,8 +507,6 @@ ath_edma_rxbuf_init(struct ath_softc *sc
 
 	ATH_RX_LOCK_ASSERT(sc);
 
-//	device_printf(sc->sc_dev, "%s: called; bf=%p\n", __func__, bf);
-
 	m = m_getm(NULL, sc->sc_edma_bufsize, M_DONTWAIT, MT_DATA);
 	if (! m)
 		return (ENOBUFS);		/* XXX ?*/
@@ -799,8 +797,6 @@ static int
 ath_edma_dma_rxteardown(struct ath_softc *sc)
 {
 
-	device_printf(sc->sc_dev, "%s: called\n", __func__);
-
 	ATH_RX_LOCK(sc);
 	ath_edma_rxfifo_flush(sc, HAL_RX_QUEUE_HP);
 	ath_edma_rxfifo_free(sc, HAL_RX_QUEUE_HP);



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