Make it clear that the statement following the conditional is a NOP.

This commit is contained in:
Matthew N. Dodd 2005-04-13 06:42:43 +00:00
parent e9a1a34366
commit 8f6a80b791
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=144996
2 changed files with 4 additions and 2 deletions

View File

@ -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)) {

View File

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