diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2005-07-25 00:49:45 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2005-07-25 00:49:45 +0000 |
commit | d8b7bc6f7e909fe73fccc44a222e317d48f29b63 (patch) | |
tree | b943dc10d80b26d95c15ee29537a7b17595d62c9 /sys/dev/pci/if_ti.c | |
parent | a9b88245b11cd919df83a129256888a94b3a75e8 (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.c | 10 |
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); |