aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/bge
diff options
context:
space:
mode:
authorMike Silbersack <silby@FreeBSD.org>2002-02-11 23:29:15 +0000
committerMike Silbersack <silby@FreeBSD.org>2002-02-11 23:29:15 +0000
commita9e6a9792eb89248829f81961ba67d84864b7ce3 (patch)
tree661ca20ed1527f97fa4651dd08022c7c2405b6a9 /sys/dev/bge
parent59d1bdfdc803cef927f0b99e015ee24c73a38930 (diff)
Notes
Diffstat (limited to 'sys/dev/bge')
-rw-r--r--sys/dev/bge/if_bge.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/dev/bge/if_bge.c b/sys/dev/bge/if_bge.c
index 7b192e1b1c82..9abff5027d38 100644
--- a/sys/dev/bge/if_bge.c
+++ b/sys/dev/bge/if_bge.c
@@ -715,15 +715,11 @@ bge_newbuf_std(sc, i, m)
if (m == NULL) {
MGETHDR(m_new, M_DONTWAIT, MT_DATA);
if (m_new == NULL) {
- printf("bge%d: mbuf allocation failed "
- "-- packet dropped!\n", sc->bge_unit);
return(ENOBUFS);
}
MCLGET(m_new, M_DONTWAIT);
if (!(m_new->m_flags & M_EXT)) {
- printf("bge%d: cluster allocation failed "
- "-- packet dropped!\n", sc->bge_unit);
m_freem(m_new);
return(ENOBUFS);
}
@@ -764,8 +760,6 @@ bge_newbuf_jumbo(sc, i, m)
/* Allocate the mbuf. */
MGETHDR(m_new, M_DONTWAIT, MT_DATA);
if (m_new == NULL) {
- printf("bge%d: mbuf allocation failed "
- "-- packet dropped!\n", sc->bge_unit);
return(ENOBUFS);
}