Julian Wiedmann 152485bf76 s390/qdio: simplify math in get_*_buffer_frontier()
When determining the buffer count that get_buf_states() should
be queried for, 'count' is capped at 127 buffers.
So the check
	q->first_to_check == (q->first_to_check + count) % 128
can be reduced to
	count == 0

This helps to emphasize that get_buf_states() is really only
called with count > 0.

Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com>
Reviewed-by: Benjamin Block <bblock@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2018-03-26 16:12:25 +02:00
..
2018-02-05 07:34:52 +01:00
2018-02-05 07:34:52 +01:00
2018-02-02 10:47:14 +01:00
2018-01-09 16:34:34 +01:00
2018-01-09 16:34:34 +01:00
2018-02-05 07:34:52 +01:00
2018-02-05 07:34:52 +01:00