mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-02 06:35:36 +00:00
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:
parent
56cda6bf39
commit
6e64832134
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=68990
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue