Make it clear that the statement following the conditional is a NOP.
This commit is contained in:
parent
e9a1a34366
commit
8f6a80b791
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=144996
@ -650,7 +650,8 @@ ep_intr(void *arg)
|
||||
*/
|
||||
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 New Issue
Block a user