diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2005-12-03 16:53:17 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2005-12-03 16:53:17 +0000 |
commit | 59413aaf9936ee396905effecb9206e3e5d9e01f (patch) | |
tree | d820a69874e8e867417c8c87fff410362b921e48 /sys/dev/ic/bha.c | |
parent | 734d8d431c424e5467db4143f21b9249f5900059 (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/bha.c')
-rw-r--r-- | sys/dev/ic/bha.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/ic/bha.c b/sys/dev/ic/bha.c index 473397ae24f..2e142368308 100644 --- a/sys/dev/ic/bha.c +++ b/sys/dev/ic/bha.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bha.c,v 1.7 2004/12/26 21:22:13 miod Exp $ */ +/* $OpenBSD: bha.c,v 1.8 2005/12/03 16:53:15 krw Exp $ */ /* $NetBSD: bha.c,v 1.27 1998/11/19 21:53:00 thorpej Exp $ */ #undef BHADEBUG @@ -1374,7 +1374,6 @@ bha_scsi_cmd(xs) */ if (dontqueue) { splx(s); - xs->error = XS_DRIVER_STUFFUP; return (TRY_AGAIN_LATER); } @@ -1399,7 +1398,6 @@ bha_scsi_cmd(xs) */ if (dontqueue) { splx(s); - xs->error = XS_DRIVER_STUFFUP; return (TRY_AGAIN_LATER); } |