summaryrefslogtreecommitdiff
path: root/sys/kern/kern_physio.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_physio.c')
-rw-r--r--sys/kern/kern_physio.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/kern/kern_physio.c b/sys/kern/kern_physio.c
index 022e4aeac84..0dae0225874 100644
--- a/sys/kern/kern_physio.c
+++ b/sys/kern/kern_physio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_physio.c,v 1.29 2009/06/04 21:27:14 oga Exp $ */
+/* $OpenBSD: kern_physio.c,v 1.30 2010/06/23 14:18:32 thib Exp $ */
/* $NetBSD: kern_physio.c,v 1.28 1997/05/19 10:43:28 pk Exp $ */
/*-
@@ -262,12 +262,8 @@ struct buf *
getphysbuf(void)
{
struct buf *bp;
- int s;
- s = splbio();
bp = pool_get(&bufpool, PR_WAITOK | PR_ZERO);
- splx(s);
-
bp->b_vnbufs.le_next = NOLIST;
return (bp);