commit | 19d4c761c1d2354e6c1deb6e1d31c949028b92d6 | [log] [tgz] |
---|---|---|
author | Julian Wiedmann <jwi@linux.ibm.com> | Tue Apr 21 17:20:00 2020 +0200 |
committer | Vasily Gorbik <gor@linux.ibm.com> | Tue Apr 28 13:49:48 2020 +0200 |
tree | b94235f4b313cbd15542d6c7c3c7bc5942bcec74 | |
parent | 9b7012dfc33db9c44add10ab58033fe167a15f13 [diff] |
s390/qdio: remove always-true condition buf_in_between() gets passed q->u.in.ack_start as 'bufnr' parameter. The ack_start always ranges between 0 and QDIO_MAX_BUFFERS_PER_Q - 1, so the subsequent check will always return true. Remove it. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Reviewed-by: Benjamin Block <bblock@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>