summaryrefslogtreecommitdiff
path: root/sys/dev/ic/adv.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2010-01-10 00:10:24 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2010-01-10 00:10:24 +0000
commitc6c0f256e4fe51adfe4e53e07736f2606975ecde (patch)
tree54865f08103e580e7ac44f8bdf4691d9c349b87a /sys/dev/ic/adv.c
parente1c5df59efbbfff22b9563a6e6ce0068776c8963 (diff)
Set ITSDONE in scsi_done() and zap trivial instances of setting it
in the drivers just before calling scsi_done(). ok dlg@ beck@
Diffstat (limited to 'sys/dev/ic/adv.c')
-rw-r--r--sys/dev/ic/adv.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/ic/adv.c b/sys/dev/ic/adv.c
index df94aab17bc..ecf6fc28d37 100644
--- a/sys/dev/ic/adv.c
+++ b/sys/dev/ic/adv.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: adv.c,v 1.26 2009/09/04 04:57:14 miod Exp $ */
+/* $OpenBSD: adv.c,v 1.27 2010/01/10 00:10:23 krw Exp $ */
/* $NetBSD: adv.c,v 1.6 1998/10/28 20:39:45 dante Exp $ */
/*
@@ -653,7 +653,6 @@ adv_scsi_cmd(xs)
xs->error = XS_DRIVER_STUFFUP;
adv_free_ccb(sc, ccb);
- xs->flags |= ITSDONE;
s = splbio();
scsi_done(xs);
splx(s);
@@ -930,6 +929,5 @@ adv_narrow_isr_callback(sc, qdonep)
adv_free_ccb(sc, ccb);
- xs->flags |= ITSDONE;
scsi_done(xs);
}