summaryrefslogtreecommitdiff
path: root/sys/dev/ic/aic6360.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2005-12-03 16:53:17 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2005-12-03 16:53:17 +0000
commit59413aaf9936ee396905effecb9206e3e5d9e01f (patch)
treed820a69874e8e867417c8c87fff410362b921e48 /sys/dev/ic/aic6360.c
parent734d8d431c424e5467db4143f21b9249f5900059 (diff)
The first thing done when XXX_scsi_cmd() returns TRY_AGAIN_LATER is
to set xs->error to XS_BUSY. So it is pointless and misleading to set xs->error to XS_TIMEOUT, XS_DRIVER_STUFFUP or XS_BUSY just before returning TRY_AGAIN_LATER. No functional change.
Diffstat (limited to 'sys/dev/ic/aic6360.c')
-rw-r--r--sys/dev/ic/aic6360.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ic/aic6360.c b/sys/dev/ic/aic6360.c
index b169cf2f62f..e60114c9d3e 100644
--- a/sys/dev/ic/aic6360.c
+++ b/sys/dev/ic/aic6360.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aic6360.c,v 1.8 2004/12/26 21:22:13 miod Exp $ */
+/* $OpenBSD: aic6360.c,v 1.9 2005/12/03 16:53:15 krw Exp $ */
/* $NetBSD: aic6360.c,v 1.52 1996/12/10 21:27:51 thorpej Exp $ */
#ifdef DDB
@@ -509,7 +509,6 @@ aic_scsi_cmd(xs)
flags = xs->flags;
if ((acb = aic_get_acb(sc, flags)) == NULL) {
- xs->error = XS_DRIVER_STUFFUP;
return TRY_AGAIN_LATER;
}