summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_ti.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_ti.c
parenta9b88245b11cd919df83a129256888a94b3a75e8 (diff)
don't bother with printf in *_jalloc()
Diffstat (limited to 'sys/dev/pci/if_ti.c')
-rw-r--r--sys/dev/pci/if_ti.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/sys/dev/pci/if_ti.c b/sys/dev/pci/if_ti.c
index 687cfaf1211..5a53de00b2a 100644
--- a/sys/dev/pci/if_ti.c
+++ b/sys/dev/pci/if_ti.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ti.c,v 1.69 2005/07/25 00:41:24 brad Exp $ */
+/* $OpenBSD: if_ti.c,v 1.70 2005/07/25 00:49:43 brad Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -671,12 +671,8 @@ void *ti_jalloc(sc)
entry = SLIST_FIRST(&sc->ti_jfree_listhead);
- if (entry == NULL) {
-#ifdef TI_VERBOSE
- printf("%s: no free jumbo buffers\n", sc->sc_dv.dv_xname);
-#endif
- return(NULL);
- }
+ if (entry == NULL)
+ return (NULL);
SLIST_REMOVE_HEAD(&sc->ti_jfree_listhead, jpool_entries);
SLIST_INSERT_HEAD(&sc->ti_jinuse_listhead, entry, jpool_entries);