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-09-29 21:11:12 -07:00
2015-12-15 12:43:01 -05:00
2015-09-29 21:11:13 -07:00
2015-09-29 13:49:53 -07:00
2015-09-08 22:44:42 -07:00
2015-12-13 23:36:55 -05:00
2015-12-03 13:43:06 -08:00
2015-11-05 13:15:12 -08:00
2015-12-15 00:26:31 -05:00
2015-11-06 14:22:15 -08:00