summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_bge.c
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2005-07-25 00:49:45 +0000
committerBrad Smith <brad@cvs.openbsd.org>2005-07-25 00:49:45 +0000
commitd8b7bc6f7e909fe73fccc44a222e317d48f29b63 (patch)
treeb943dc10d80b26d95c15ee29537a7b17595d62c9 /sys/dev/pci/if_bge.c
parenta9b88245b11cd919df83a129256888a94b3a75e8 (diff)
don't bother with printf in *_jalloc()
Diffstat (limited to 'sys/dev/pci/if_bge.c')
-rw-r--r--sys/dev/pci/if_bge.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c
index 80ba724afc9..44881d14bdc 100644
--- a/sys/dev/pci/if_bge.c
+++ b/sys/dev/pci/if_bge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bge.c,v 1.77 2005/07/20 01:22:25 brad Exp $ */
+/* $OpenBSD: if_bge.c,v 1.78 2005/07/25 00:49:43 brad Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
@@ -584,11 +584,8 @@ bge_jalloc(sc)
entry = SLIST_FIRST(&sc->bge_jfree_listhead);
- if (entry == NULL) {
- DPRINTFN(1,("%s: no free jumbo buffers\n",
- sc->bge_dev.dv_xname));
- return(NULL);
- }
+ if (entry == NULL)
+ return (NULL);
SLIST_REMOVE_HEAD(&sc->bge_jfree_listhead, jpool_entries);
SLIST_INSERT_HEAD(&sc->bge_jinuse_listhead, entry, jpool_entries);