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/osiop.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/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 dc4938838f8..442e6694f80 100644 --- a/sys/dev/ic/osiop.c +++ b/sys/dev/ic/osiop.c @@ -1,4 +1,4 @@ -/* $OpenBSD: osiop.c,v 1.25 2005/11/21 22:55:43 miod Exp $ */ +/* $OpenBSD: osiop.c,v 1.26 2005/12/03 16:53:16 krw Exp $ */ /* $NetBSD: osiop.c,v 1.9 2002/04/05 18:27:54 bouyer Exp $ */ /* @@ -404,7 +404,6 @@ osiop_scsicmd(xs) printf("unable to allocate acb\n"); panic("osiop_scsipi_request"); #endif - xs->error = XS_DRIVER_STUFFUP; splx(s); return (TRY_AGAIN_LATER); } |