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/isa/aha.c | |
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/isa/aha.c')
-rw-r--r-- | sys/dev/isa/aha.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/isa/aha.c b/sys/dev/isa/aha.c index 77138b0babf..6fefc155bfa 100644 --- a/sys/dev/isa/aha.c +++ b/sys/dev/isa/aha.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aha.c,v 1.68 2010/04/28 21:23:18 kettenis Exp $ */ +/* $OpenBSD: aha.c,v 1.69 2010/05/20 00:55:17 krw Exp $ */ /* $NetBSD: aha.c,v 1.11 1996/05/12 23:51:23 mycroft Exp $ */ #undef AHADIAG @@ -1258,9 +1258,7 @@ aha_scsi_cmd(xs) flags = xs->flags; if ((ccb = aha_get_ccb(sc, flags)) == NULL) { xs->error = XS_NO_CCB; - s = splbio(); scsi_done(xs); - splx(s); return; } ccb->xs = xs; @@ -1291,9 +1289,7 @@ aha_scsi_cmd(xs) xs->datalen, NULL, BUS_DMA_NOWAIT) != 0) { aha_free_ccb(sc, ccb); xs->error = XS_NO_CCB; - s = splbio(); scsi_done(xs); - splx(s); return; } for (seg = 0; seg < ccb->dmam->dm_nsegs; seg++) { |