svn commit: r188584 - head/sys/dev/firewire

Sean Bruno sbruno at FreeBSD.org
Fri Feb 13 09:44:08 PST 2009


Author: sbruno
Date: Fri Feb 13 17:44:07 2009
New Revision: 188584
URL: http://svn.freebsd.org/changeset/base/188584

Log:
  Remove redundant while () from loop.
  
  Submitted by:	 Ganbold <ganbold at micom.mng.net>
  Reviewed by:	 scottl

Modified:
  head/sys/dev/firewire/fwohci.c

Modified: head/sys/dev/firewire/fwohci.c
==============================================================================
--- head/sys/dev/firewire/fwohci.c	Fri Feb 13 16:51:36 2009	(r188583)
+++ head/sys/dev/firewire/fwohci.c	Fri Feb 13 17:44:07 2009	(r188584)
@@ -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;


More information about the svn-src-all mailing list