summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorsbruno <sbruno@FreeBSD.org>2009-02-13 17:44:07 +0000
committersbruno <sbruno@FreeBSD.org>2009-02-13 17:44:07 +0000
commit8c071e7985f426b3cc07220320d3cd5795745afa (patch)
tree5819497105fbd41717883a71a5b6a2bf3bd1b60e /sys
parent56ef1bde13f2267a0a9f80e38b1d3e347e38b74e (diff)
downloadFreeBSD-src-8c071e7985f426b3cc07220320d3cd5795745afa.zip
FreeBSD-src-8c071e7985f426b3cc07220320d3cd5795745afa.tar.gz
Remove redundant while () from loop.
Submitted by: Ganbold <ganbold@micom.mng.net> Reviewed by: scottl
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/firewire/fwohci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/firewire/fwohci.c b/sys/dev/firewire/fwohci.c
index 7e7910f..edfc047 100644
--- a/sys/dev/firewire/fwohci.c
+++ b/sys/dev/firewire/fwohci.c
@@ -2979,7 +2979,7 @@ err:
db_tr = STAILQ_NEXT(db_tr, link);
resCount = FWOHCI_DMA_READ(db_tr->db[0].db.desc.res)
& OHCI_COUNT_MASK;
- } while (resCount == 0)
+ }
printf(" done\n");
dbch->top = db_tr;
dbch->buf_offset = dbch->xferq.psize - resCount;
OpenPOWER on IntegriCloud