aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMike Silbersack <silby@FreeBSD.org>2002-02-11 23:38:30 +0000
committerMike Silbersack <silby@FreeBSD.org>2002-02-11 23:38:30 +0000
commit27d5f39f68b791cf68584e0df471a316c6220b8d (patch)
tree1f6a9945a801e035fe6756dad0a8fea693bf79a3 /sys/dev
parenta9e6a9792eb89248829f81961ba67d84864b7ce3 (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ti/if_ti.c4
-rw-r--r--sys/dev/tx/if_tx.c2
2 files changed, 0 insertions, 6 deletions
diff --git a/sys/dev/ti/if_ti.c b/sys/dev/ti/if_ti.c
index 106f065f9c9a7..0951e389a2c2d 100644
--- a/sys/dev/ti/if_ti.c
+++ b/sys/dev/ti/if_ti.c
@@ -744,8 +744,6 @@ static int ti_newbuf_mini(sc, i, m)
if (m == NULL) {
MGETHDR(m_new, M_DONTWAIT, MT_DATA);
if (m_new == NULL) {
- printf("ti%d: mbuf allocation failed "
- "-- packet dropped!\n", sc->ti_unit);
return(ENOBUFS);
}
m_new->m_len = m_new->m_pkthdr.len = MHLEN;
@@ -787,8 +785,6 @@ static int ti_newbuf_jumbo(sc, i, m)
/* Allocate the mbuf. */
MGETHDR(m_new, M_DONTWAIT, MT_DATA);
if (m_new == NULL) {
- printf("ti%d: mbuf allocation failed "
- "-- packet dropped!\n", sc->ti_unit);
return(ENOBUFS);
}
diff --git a/sys/dev/tx/if_tx.c b/sys/dev/tx/if_tx.c
index 0fb905162d764..26b6bdb650992 100644
--- a/sys/dev/tx/if_tx.c
+++ b/sys/dev/tx/if_tx.c
@@ -862,7 +862,6 @@ epic_ifstart(ifp)
if( NULL != m ){
EPIC_MGETCLUSTER(m);
if( NULL == m ){
- printf(EPIC_FORMAT ": cannot allocate mbuf cluster\n",EPIC_ARGS(sc));
m_freem(m0);
ifp->if_oerrors++;
continue;
@@ -940,7 +939,6 @@ epic_rx_done(sc)
/* Try to get mbuf cluster */
EPIC_MGETCLUSTER( buf->mbuf );
if( NULL == buf->mbuf ) {
- printf(EPIC_FORMAT ": cannot allocate mbuf cluster\n",EPIC_ARGS(sc));
buf->mbuf = m;
desc->status = 0x8000;
sc->sc_if.if_ierrors++;