summaryrefslogtreecommitdiff
path: root/sys/scsi
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/scsi
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/scsi')
-rw-r--r--sys/scsi/mpath.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/scsi/mpath.c b/sys/scsi/mpath.c
index 98c058cbf8b..14390f624c3 100644
--- a/sys/scsi/mpath.c
+++ b/sys/scsi/mpath.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpath.c,v 1.13 2010/03/23 01:57:20 krw Exp $ */
+/* $OpenBSD: mpath.c,v 1.14 2010/05/20 00:55:18 krw Exp $ */
/*
* Copyright (c) 2009 David Gwynne <dlg@openbsd.org>
@@ -126,12 +126,8 @@ mpath_attach(struct device *parent, struct device *self, void *aux)
void
mpath_xs_stuffup(struct scsi_xfer *xs)
{
- int s;
-
xs->error = XS_DRIVER_STUFFUP;
- s = splbio();
scsi_done(xs);
- splx(s);
}
int
@@ -195,9 +191,7 @@ mpath_done(struct scsi_xfer *mxs)
scsi_xs_put(mxs);
- s = splbio();
scsi_done(xs);
- splx(s);
}
void