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.
This commit is contained in:
Mike Smith 2000-11-21 06:58:24 +00:00
parent 56cda6bf39
commit 6e64832134
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=68990

View file

@ -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);
}