myri10ge: Remove nonsensical limit in the tx done routine
authorBrice Goglin <brice@myri.com>
Fri, 13 Jul 2007 18:15:13 +0000 (20:15 +0200)
committerJeff Garzik <jeff@garzik.org>
Mon, 16 Jul 2007 22:28:05 +0000 (18:28 -0400)
commitc97884b5de95a11d1668f134a51c1d150d214391
treeb350e1e1ec743f8c5cb95ec0086b7b72cf032d48
parentbe5ae973197b84e9f39784b73d08ba41931fbdc9
myri10ge: Remove nonsensical limit in the tx done routine

Remove nonsensical limit in the tx done routine. Specifically,
the loop will always terminate after processing <= 1 rings worth
of frames, as the mcp index is not refetched, so the removed
conditional could never be true.

Signed-off-by: Brice Goglin <brice@myri.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/myri10ge/myri10ge.c