diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2010-05-20 00:55:19 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2010-05-20 00:55:19 +0000 |
commit | c713a7721e58dd0a453fae998afd21f12fd821e8 (patch) | |
tree | 4c794ea604130c88f12d5a7295bcd0cb4624515f /sys/dev/eisa | |
parent | 3c3718e53ebd6b33568092f43f11f6f1d0c4130e (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/eisa')
-rw-r--r-- | sys/dev/eisa/aha1742.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/eisa/aha1742.c b/sys/dev/eisa/aha1742.c index 2f161b18179..51c00d19d14 100644 --- a/sys/dev/eisa/aha1742.c +++ b/sys/dev/eisa/aha1742.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aha1742.c,v 1.38 2010/03/23 01:57:19 krw Exp $ */ +/* $OpenBSD: aha1742.c,v 1.39 2010/05/20 00:55:17 krw Exp $ */ /* $NetBSD: aha1742.c,v 1.61 1996/05/12 23:40:01 mycroft Exp $ */ /* @@ -953,9 +953,7 @@ ahb_scsi_cmd(xs) flags = xs->flags; if ((ecb = ahb_get_ecb(sc, flags)) == NULL) { xs->error = XS_NO_CCB; - s = splbio(); scsi_done(xs); - splx(s); return; } ecb->xs = xs; @@ -971,9 +969,7 @@ ahb_scsi_cmd(xs) ecb->flags |= ECB_IMMED; if (sc->immed_ecb) { xs->error = XS_NO_CCB; - s = splbio(); scsi_done(xs); - splx(s); return; } sc->immed_ecb = ecb; @@ -1077,9 +1073,7 @@ ahb_scsi_cmd(xs) sc->sc_dev.dv_xname, AHB_NSEG); xs->error = XS_DRIVER_STUFFUP; ahb_free_ecb(sc, ecb, flags); - s = splbio(); scsi_done(xs); - splx(s); return; } } else { /* No data xfer, use non S/G values */ |