diff options
author | 2010-01-10 00:10:23 +0000 | |
---|---|---|
committer | 2010-01-10 00:10:23 +0000 | |
commit | 2fb766a8f037f3d1098a4bee8170f3a28ab3b879 (patch) | |
tree | a2cdfe041cd94d1ed5375bf87a6654f11260ebfd /sys/dev/ic/osiop.c | |
parent | Do not try to reevaluate the current RX production index on each (diff) | |
download | wireguard-openbsd-2fb766a8f037f3d1098a4bee8170f3a28ab3b879.tar.xz wireguard-openbsd-2fb766a8f037f3d1098a4bee8170f3a28ab3b879.zip |
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/osiop.c')
-rw-r--r-- | sys/dev/ic/osiop.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ic/osiop.c b/sys/dev/ic/osiop.c index cf5b937935b..35aded288b6 100644 --- a/sys/dev/ic/osiop.c +++ b/sys/dev/ic/osiop.c @@ -1,4 +1,4 @@ -/* $OpenBSD: osiop.c,v 1.39 2009/08/28 10:13:53 jasper Exp $ */ +/* $OpenBSD: osiop.c,v 1.40 2010/01/10 00:10:23 krw Exp $ */ /* $NetBSD: osiop.c,v 1.9 2002/04/05 18:27:54 bouyer Exp $ */ /* @@ -710,7 +710,6 @@ FREE: sc->sc_tinfo[periph->target].cmds++; xs->resid = 0; - xs->flags |= ITSDONE; scsi_done(xs); } else { /* Set up REQUEST_SENSE command */ |