diff options
| author | Mike Silbersack <silby@FreeBSD.org> | 2002-02-11 23:38:30 +0000 |
|---|---|---|
| committer | Mike Silbersack <silby@FreeBSD.org> | 2002-02-11 23:38:30 +0000 |
| commit | 27d5f39f68b791cf68584e0df471a316c6220b8d (patch) | |
| tree | 1f6a9945a801e035fe6756dad0a8fea693bf79a3 /sys/dev | |
| parent | a9e6a9792eb89248829f81961ba67d84864b7ce3 (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/ti/if_ti.c | 4 | ||||
| -rw-r--r-- | sys/dev/tx/if_tx.c | 2 |
2 files changed, 0 insertions, 6 deletions
diff --git a/sys/dev/ti/if_ti.c b/sys/dev/ti/if_ti.c index 106f065f9c9a..0951e389a2c2 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 0fb905162d76..26b6bdb65099 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++; |
