summaryrefslogtreecommitdiff
path: root/sys/dev/ic/aic7xxx_openbsd.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/aic7xxx_openbsd.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/aic7xxx_openbsd.c')
-rw-r--r--sys/dev/ic/aic7xxx_openbsd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/ic/aic7xxx_openbsd.c b/sys/dev/ic/aic7xxx_openbsd.c
index b45b9856640..eb24a34fbfa 100644
--- a/sys/dev/ic/aic7xxx_openbsd.c
+++ b/sys/dev/ic/aic7xxx_openbsd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aic7xxx_openbsd.c,v 1.43 2009/11/22 14:14:10 krw Exp $ */
+/* $OpenBSD: aic7xxx_openbsd.c,v 1.44 2010/01/10 00:10:23 krw Exp $ */
/* $NetBSD: aic7xxx_osm.c,v 1.14 2003/11/02 11:07:44 wiz Exp $ */
/*
@@ -278,7 +278,6 @@ ahc_done(struct ahc_softc *ahc, struct scb *scb)
s = splbio();
ahc_free_scb(ahc, scb);
- xs->flags |= ITSDONE;
scsi_done(xs);
splx(s);
}
@@ -576,7 +575,6 @@ ahc_setup_data(struct ahc_softc *ahc, struct scsi_xfer *xs,
s = splbio();
ahc_free_scb(ahc, scb);
xs->error = XS_DRIVER_STUFFUP;
- xs->flags |= ITSDONE;
scsi_done(xs);
splx(s);
return (COMPLETE);