summaryrefslogtreecommitdiff
path: root/sys/dev/ic/aac.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/aac.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/aac.c')
-rw-r--r--sys/dev/ic/aac.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/ic/aac.c b/sys/dev/ic/aac.c
index 2ba71c4b898..3ae5e473187 100644
--- a/sys/dev/ic/aac.c
+++ b/sys/dev/ic/aac.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aac.c,v 1.25 2005/11/18 05:39:10 nate Exp $ */
+/* $OpenBSD: aac.c,v 1.26 2005/12/03 16:53:15 krw Exp $ */
/*-
* Copyright (c) 2000 Michael Smith
@@ -2578,7 +2578,6 @@ aac_scsi_cmd(struct scsi_xfer *xs)
* We are out of commands, try again
* in a little while.
*/
- xs->error = XS_DRIVER_STUFFUP;
splx(s);
return (TRY_AGAIN_LATER);
}
@@ -2603,7 +2602,6 @@ aac_scsi_cmd(struct scsi_xfer *xs)
{
printf("%s: command timed out\n",
sc->aac_dev.dv_xname);
- xs->error = XS_TIMEOUT;
splx(s);
return (TRY_AGAIN_LATER);
}