summaryrefslogtreecommitdiffstats
path: root/sys/dev/amr/amr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/amr/amr.c')
-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