mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 23:02:02 -04:00
err set but not used. Eliminate it.
This commit is contained in:
parent
23983bef48
commit
89c4eab36f
1 changed files with 2 additions and 2 deletions
|
|
@ -957,9 +957,9 @@ ata_promise_mio_softreset(device_t dev, int port)
|
|||
|
||||
/* wait for BUSY to go inactive */
|
||||
for (timeout = 0; timeout < 100; timeout++) {
|
||||
u_int8_t err, stat;
|
||||
u_int8_t /* err, */ stat;
|
||||
|
||||
err = ATA_IDX_INB(ch, ATA_ERROR);
|
||||
/* err = */ ATA_IDX_INB(ch, ATA_ERROR);
|
||||
stat = ATA_IDX_INB(ch, ATA_STATUS);
|
||||
|
||||
//if (stat == err && timeout > (stat & ATA_S_BUSY ? 100 : 10))
|
||||
|
|
|
|||
Loading…
Reference in a new issue