summaryrefslogtreecommitdiffstats
path: root/sys/dev/ep/if_ep.c
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2005-04-13 06:42:43 +0000
committermdodd <mdodd@FreeBSD.org>2005-04-13 06:42:43 +0000
commitd87a666d7ad9056ebdd20aa837bc88084ee322ad (patch)
tree779e585487f843f30f842b5f4a7dd461656296ca /sys/dev/ep/if_ep.c
parentf48ecbb639a1364efd1a9d4825f78f9ae95e072d (diff)
downloadFreeBSD-src-d87a666d7ad9056ebdd20aa837bc88084ee322ad.zip
FreeBSD-src-d87a666d7ad9056ebdd20aa837bc88084ee322ad.tar.gz
Make it clear that the statement following the conditional is a NOP.
Diffstat (limited to 'sys/dev/ep/if_ep.c')
-rw-r--r--sys/dev/ep/if_ep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ep/if_ep.c b/sys/dev/ep/if_ep.c
index a860502..0505659 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)) {
OpenPOWER on IntegriCloud