summaryrefslogtreecommitdiffstats
path: root/sys/dev/amr
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2000-11-21 06:58:24 +0000
committermsmith <msmith@FreeBSD.org>2000-11-21 06:58:24 +0000
commit555b7cdaef239a5a6930fe2fd2eb7edb07ddb817 (patch)
tree7dbd2ca4547167230b69079a91c02d24083a46f9 /sys/dev/amr
parentf39cd3c47c0c9d3f260ce3448d2794914945566c (diff)
downloadFreeBSD-src-555b7cdaef239a5a6930fe2fd2eb7edb07ddb817.zip
FreeBSD-src-555b7cdaef239a5a6930fe2fd2eb7edb07ddb817.tar.gz
Don't test the return value from the actual command when determining
success/failure for submission of the command. The caller will want to deal with this itself.
Diffstat (limited to 'sys/dev/amr')
-rw-r--r--sys/dev/amr/amr.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/dev/amr/amr.c b/sys/dev/amr/amr.c
index 7ffe1b1..e62a3e2 100644
--- a/sys/dev/amr/amr.c
+++ b/sys/dev/amr/amr.c
@@ -846,11 +846,6 @@ amr_wait_command(struct amr_command *ac)
while ((ac->ac_flags & AMR_CMD_BUSY) && (count < 30)) {
tsleep(ac, PRIBIO | PCATCH, "amrwcmd", hz);
}
-
- if (ac->ac_status != 0) {
- device_printf(sc->amr_dev, "I/O error - 0x%x\n", ac->ac_status);
- return(EIO);
- }
return(0);
}
OpenPOWER on IntegriCloud