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_nge.c | |
parent | a9b88245b11cd919df83a129256888a94b3a75e8 (diff) |
don't bother with printf in *_jalloc()
Diffstat (limited to 'sys/dev/pci/if_nge.c')
-rw-r--r-- | sys/dev/pci/if_nge.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/sys/dev/pci/if_nge.c b/sys/dev/pci/if_nge.c index d978213dab9..1254de3a0dd 100644 --- a/sys/dev/pci/if_nge.c +++ b/sys/dev/pci/if_nge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_nge.c,v 1.41 2005/07/09 23:18:53 brad Exp $ */ +/* $OpenBSD: if_nge.c,v 1.42 2005/07/25 00:49:44 brad Exp $ */ /* * Copyright (c) 2001 Wind River Systems * Copyright (c) 1997, 1998, 1999, 2000, 2001 @@ -1204,12 +1204,8 @@ nge_jalloc(sc) entry = LIST_FIRST(&sc->nge_jfree_listhead); - if (entry == NULL) { -#ifdef NGE_VERBOSE - printf("%s: no free jumbo buffers\n", sc->sc_dv.dv_xname); -#endif - return(NULL); - } + if (entry == NULL) + return (NULL); LIST_REMOVE(entry, jpool_entries); LIST_INSERT_HEAD(&sc->nge_jinuse_listhead, entry, jpool_entries); |