Dan Carpenter c7557e6a56 amd-xgbe: fix a couple timeout loops
At the end of the loop we test "if (!count)" but because "count--" is
a post-op then the loop will end with count set to -1.  I have fixed
this by changing it to --count.

Fixes: c5aa9e3b8156 ('amd-xgbe: Initial AMD 10GbE platform driver')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-12-15 12:43:01 -05:00
..
2015-12-15 12:43:01 -05:00
2013-12-29 00:46:38 -05:00
2014-06-05 15:14:21 -07:00
2015-09-29 21:11:13 -07:00
2014-06-05 15:14:21 -07:00