From 01f312783e48b89e98dbeb5b8603985f416f86da Mon Sep 17 00:00:00 2001 From: Sean Bruno Date: Fri, 13 Feb 2009 17:44:07 +0000 Subject: [PATCH] Remove redundant while () from loop. Submitted by: Ganbold Reviewed by: scottl --- sys/dev/firewire/fwohci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/firewire/fwohci.c b/sys/dev/firewire/fwohci.c index 7e7910f7f09..edfc04799ac 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;