summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/ti/if_ti.c4
-rw-r--r--sys/dev/tx/if_tx.c2
-rw-r--r--sys/pci/if_rl.c4
-rw-r--r--sys/pci/if_ti.c4
-rw-r--r--sys/pci/if_tx.c2
5 files changed, 0 insertions, 16 deletions
diff --git a/sys/dev/ti/if_ti.c b/sys/dev/ti/if_ti.c
index 106f065..0951e38 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 0fb9051..26b6bdb 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++;
diff --git a/sys/pci/if_rl.c b/sys/pci/if_rl.c
index 980404f..be47166 100644
--- a/sys/pci/if_rl.c
+++ b/sys/pci/if_rl.c
@@ -1225,8 +1225,6 @@ static void rl_rxeof(sc)
NULL);
if (m == NULL) {
ifp->if_ierrors++;
- printf("rl%d: out of mbufs, tried to "
- "copy %d bytes\n", sc->rl_unit, wrap);
} else {
m_copyback(m, wrap, total_len - wrap,
sc->rl_cdata.rl_rx_buf);
@@ -1237,8 +1235,6 @@ static void rl_rxeof(sc)
NULL);
if (m == NULL) {
ifp->if_ierrors++;
- printf("rl%d: out of mbufs, tried to "
- "copy %d bytes\n", sc->rl_unit, total_len);
}
cur_rx += total_len + 4 + ETHER_CRC_LEN;
}
diff --git a/sys/pci/if_ti.c b/sys/pci/if_ti.c
index 106f065..0951e38 100644
--- a/sys/pci/if_ti.c
+++ b/sys/pci/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/pci/if_tx.c b/sys/pci/if_tx.c
index 0fb9051..26b6bdb 100644
--- a/sys/pci/if_tx.c
+++ b/sys/pci/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++;
OpenPOWER on IntegriCloud