From 1e0f928b96cd46c64a197ac04f4ac3c5bc828d7a Mon Sep 17 00:00:00 2001 From: kmacy Date: Wed, 16 Jan 2008 02:39:33 +0000 Subject: [PATCH] remove superfluous debug printfs --- sys/dev/cxgb/cxgb_sge.c | 6 +----- sys/dev/cxgb/sys/uipc_mvec.c | 3 --- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/sys/dev/cxgb/cxgb_sge.c b/sys/dev/cxgb/cxgb_sge.c index 32c7ec7af177..b770f8724843 100644 --- a/sys/dev/cxgb/cxgb_sge.c +++ b/sys/dev/cxgb/cxgb_sge.c @@ -74,7 +74,7 @@ __FBSDID("$FreeBSD$"); int txq_fills = 0; static int bogus_imm = 0; -static int recycle_enable = 0; +static int recycle_enable = 1; extern int cxgb_txq_buf_ring_size; int cxgb_cached_allocations; int cxgb_cached; @@ -94,7 +94,6 @@ extern int cxgb_use_16k_clusters; */ #define TX_RECLAIM_PERIOD (hz >> 1) - /* * Values for sge_txq.flags */ @@ -1250,9 +1249,6 @@ t3_encap(struct sge_qset *qs, struct mbuf **m, int count) #endif KASSERT(txsd->mi.mi_base == NULL, ("overwrting valid entry mi_base==%p", txsd->mi.mi_base)); - if (cxgb_debug) - printf("uipc_mvec PIO_LEN=%zd\n", PIO_LEN); - if (count > 1) { panic("count > 1 not support in CVS\n"); if ((err = busdma_map_sg_vec(m, &m0, segs, count))) diff --git a/sys/dev/cxgb/sys/uipc_mvec.c b/sys/dev/cxgb/sys/uipc_mvec.c index 97e076231286..52df9fcedca5 100644 --- a/sys/dev/cxgb/sys/uipc_mvec.c +++ b/sys/dev/cxgb/sys/uipc_mvec.c @@ -209,9 +209,6 @@ busdma_map_sg_collapse(struct mbuf **m, bus_dma_segment_t *segs, int *nsegs) if (n->m_flags & M_PKTHDR && !SLIST_EMPTY(&n->m_pkthdr.tags)) m_tag_delete_chain(n, NULL); - if (cxgb_debug) - printf("cxgb_sge PIO_LEN=%zd\n", PIO_LEN); - if (n->m_pkthdr.len <= PIO_LEN) return (0); retry: