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_sk.c | |
parent | a9b88245b11cd919df83a129256888a94b3a75e8 (diff) |
don't bother with printf in *_jalloc()
Diffstat (limited to 'sys/dev/pci/if_sk.c')
-rw-r--r-- | sys/dev/pci/if_sk.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/pci/if_sk.c b/sys/dev/pci/if_sk.c index c3cc42faaeb..f775a182466 100644 --- a/sys/dev/pci/if_sk.c +++ b/sys/dev/pci/if_sk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_sk.c,v 1.76 2005/07/24 20:18:17 fgsch Exp $ */ +/* $OpenBSD: if_sk.c,v 1.77 2005/07/25 00:49:43 brad Exp $ */ /* * Copyright (c) 1997, 1998, 1999, 2000 @@ -928,11 +928,8 @@ sk_jalloc(struct sk_if_softc *sc_if) entry = LIST_FIRST(&sc_if->sk_jfree_listhead); - if (entry == NULL) { - DPRINTF(("%s: no free jumbo buffers\n", - sc_if->sk_dev.dv_xname)); + if (entry == NULL) return (NULL); - } LIST_REMOVE(entry, jpool_entries); LIST_INSERT_HEAD(&sc_if->sk_jinuse_listhead, entry, jpool_entries); |