From 8f6a80b79109dd8a1c1c797ac96b220c4e879ae7 Mon Sep 17 00:00:00 2001 From: "Matthew N. Dodd" Date: Wed, 13 Apr 2005 06:42:43 +0000 Subject: [PATCH] Make it clear that the statement following the conditional is a NOP. --- sys/dev/ep/if_ep.c | 3 ++- sys/dev/sound/pci/es137x.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/dev/ep/if_ep.c b/sys/dev/ep/if_ep.c index a8605027d08..0505659216a 100644 --- a/sys/dev/ep/if_ep.c +++ b/sys/dev/ep/if_ep.c @@ -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)) { diff --git a/sys/dev/sound/pci/es137x.c b/sys/dev/sound/pci/es137x.c index 6153e88301b..627b3ac07fb 100644 --- a/sys/dev/sound/pci/es137x.c +++ b/sys/dev/sound/pci/es137x.c @@ -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); }