summaryrefslogtreecommitdiff
path: root/sys/dev/softraid.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2010-05-20 00:55:19 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2010-05-20 00:55:19 +0000
commitc713a7721e58dd0a453fae998afd21f12fd821e8 (patch)
tree4c794ea604130c88f12d5a7295bcd0cb4624515f /sys/dev/softraid.c
parent3c3718e53ebd6b33568092f43f11f6f1d0c4130e (diff)
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