diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2009-06-04 21:27:15 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2009-06-04 21:27:15 +0000 |
commit | 3c9f0a5227789e857ca1f6734d0cee5ee125364a (patch) | |
tree | a680e40ff5c69476340cb64d97f1dfca99429ec8 | |
parent | 59b558736f2b227e7691c90be20a90fb8e5ac7de (diff) |
obvious shrinkage.
ok krw@, miod@.
-rw-r--r-- | sys/kern/kern_physio.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/kern/kern_physio.c b/sys/kern/kern_physio.c index dee322dabaf..022e4aeac84 100644 --- a/sys/kern/kern_physio.c +++ b/sys/kern/kern_physio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_physio.c,v 1.28 2007/05/26 20:26:51 pedro Exp $ */ +/* $OpenBSD: kern_physio.c,v 1.29 2009/06/04 21:27:14 oga Exp $ */ /* $NetBSD: kern_physio.c,v 1.28 1997/05/19 10:43:28 pk Exp $ */ /*- @@ -265,12 +265,9 @@ getphysbuf(void) int s; s = splbio(); - bp = pool_get(&bufpool, PR_WAITOK); + bp = pool_get(&bufpool, PR_WAITOK | PR_ZERO); splx(s); - bzero(bp, sizeof(*bp)); - - /* XXXCDC: are the following two lines necessary? */ bp->b_vnbufs.le_next = NOLIST; return (bp); |