summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2010-05-20 00:55:17 +0000
committerkrw <krw@openbsd.org>2010-05-20 00:55:17 +0000
commit28915294b3d7a26d08c38b17ae5841b6c9b6e8dc (patch)
tree68aa63f3dc28c147219c6e8059949657113ac037 /sys/dev/softraid.c
parentSimplify new disk cache code so simpler people can understand it. (diff)
downloadwireguard-openbsd-28915294b3d7a26d08c38b17ae5841b6c9b6e8dc.tar.xz
wireguard-openbsd-28915294b3d7a26d08c38b17ae5841b6c9b6e8dc.zip
New scsi code seems to be stable. Pluck previously identified
low-hanging splbio/splx pairs that are no longer needed and see if this reveals any hidden scsi flaws. ok dlg@
Diffstat (limited to 'sys/dev/softraid.c')
-rw-r--r--sys/dev/softraid.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/softraid.c b/sys/dev/softraid.c
index c56e4b03924..c56301894a8 100644
--- a/sys/dev/softraid.c
+++ b/sys/dev/softraid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraid.c,v 1.202 2010/05/18 04:41:14 dlg Exp $ */
+/* $OpenBSD: softraid.c,v 1.203 2010/05/20 00:55:17 krw Exp $ */
/*
* Copyright (c) 2007, 2008, 2009 Marco Peereboom <marco@peereboom.us>
* Copyright (c) 2008 Chris Kuethe <ckuethe@openbsd.org>
@@ -1817,13 +1817,9 @@ sr_wu_get(struct sr_discipline *sd, int canwait)
void
sr_scsi_done(struct sr_discipline *sd, struct scsi_xfer *xs)
{
- int s;
-
DNPRINTF(SR_D_DIS, "%s: sr_scsi_done: xs %p\n", DEVNAME(sd->sd_sc), xs);
- s = splbio();
scsi_done(xs);
- splx(s);
}
void