mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Make it clear that the statement following the conditional is a NOP.
This commit is contained in:
parent
e9a1a34366
commit
8f6a80b791
2 changed files with 4 additions and 2 deletions
|
|
@ -650,7 +650,8 @@ rescan:
|
|||
*/
|
||||
while ((status = CSR_READ_1(sc, EP_W1_TX_STATUS)) &
|
||||
TXS_COMPLETE) {
|
||||
if (status & TXS_SUCCES_INTR_REQ);
|
||||
if (status & TXS_SUCCES_INTR_REQ)
|
||||
; /* nothing */
|
||||
else if (status &
|
||||
(TXS_UNDERRUN | TXS_JABBER |
|
||||
TXS_MAX_COLLISION)) {
|
||||
|
|
|
|||
|
|
@ -466,7 +466,8 @@ es_intr(void *p)
|
|||
bus_space_write_4(es->st, es->sh, ES1370_REG_SERIAL_CONTROL, es->sctrl);
|
||||
|
||||
if (intsrc & STAT_ADC) chn_intr(es->rch.channel);
|
||||
if (intsrc & STAT_DAC1);
|
||||
if (intsrc & STAT_DAC1)
|
||||
; /* nothing */
|
||||
if (intsrc & STAT_DAC2) chn_intr(es->pch.channel);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue