Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Feb 2009 17:44:07 +0000 (UTC)
From:      Sean Bruno <sbruno@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r188584 - head/sys/dev/firewire
Message-ID:  <200902131744.n1DHi7ov094863@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902131744.n1DHi7ov094863>