diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2010-01-09 23:15:08 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2010-01-09 23:15:08 +0000 |
commit | 966ea9e5a601fa2a77dd33a8791b3729ef5d0e93 (patch) | |
tree | 5056d93d81f39076841beadfe0cf8797db4499d2 /sys/dev/sdmmc/sdmmc_scsi.c | |
parent | 494a613fb96d93824dbd66cfe2419b406a353168 (diff) |
Zap all setting of ITSDONE in drivers that don't look at it. Nobody
else cares so it's just noise. Drivers that actually look at ITSDONE
are unchanged.
ok marco@ (for his files) dlg@ beck@
Diffstat (limited to 'sys/dev/sdmmc/sdmmc_scsi.c')
-rw-r--r-- | sys/dev/sdmmc/sdmmc_scsi.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/sdmmc/sdmmc_scsi.c b/sys/dev/sdmmc/sdmmc_scsi.c index 2f1a1bcff5d..8b45414a754 100644 --- a/sys/dev/sdmmc/sdmmc_scsi.c +++ b/sys/dev/sdmmc/sdmmc_scsi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sdmmc_scsi.c,v 1.19 2009/10/03 18:42:36 kettenis Exp $ */ +/* $OpenBSD: sdmmc_scsi.c,v 1.20 2010/01/09 23:15:07 krw Exp $ */ /* * Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org> @@ -306,7 +306,6 @@ sdmmc_scsi_cmd(struct scsi_xfer *xs) DEVNAME(sc), link->target)); /* XXX should be XS_SENSE and sense filled out */ xs->error = XS_DRIVER_STUFFUP; - xs->flags |= ITSDONE; s = splbio(); scsi_done(xs); splx(s); @@ -477,7 +476,6 @@ sdmmc_done_xs(struct sdmmc_ccb *ccb) curproc ? curproc->p_comm : "", xs->error)); xs->resid = 0; - xs->flags |= ITSDONE; if (ISSET(ccb->ccb_flags, SDMMC_CCB_F_ERR)) xs->error = XS_DRIVER_STUFFUP; |