diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2005-12-03 18:09:38 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2005-12-03 18:09:38 +0000 |
commit | 01085cc3df9c29c8a33ddbd2247ca78ceb10d7e4 (patch) | |
tree | e36aefe31941b31e975942d553721dd338bff02f /sys/arch/mvme68k/dev/sbic.c | |
parent | c70b5cef9cd869b5048eb62edb340396b02e4db0 (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.
ok miod@
Diffstat (limited to 'sys/arch/mvme68k/dev/sbic.c')
-rw-r--r-- | sys/arch/mvme68k/dev/sbic.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/mvme68k/dev/sbic.c b/sys/arch/mvme68k/dev/sbic.c index 967b65b9780..177a690d33b 100644 --- a/sys/arch/mvme68k/dev/sbic.c +++ b/sys/arch/mvme68k/dev/sbic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sbic.c,v 1.16 2004/12/25 23:02:24 miod Exp $ */ +/* $OpenBSD: sbic.c,v 1.17 2005/12/03 18:09:37 krw Exp $ */ /* $NetBSD: sbic.c,v 1.2 1996/04/23 16:32:54 chuck Exp $ */ /* @@ -387,8 +387,6 @@ sbic_scsicmd(xs) Debugger(); #endif #endif - xs->error = XS_DRIVER_STUFFUP; - return(TRY_AGAIN_LATER); } |