diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2020-04-21 18:20:00 +0300 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2020-04-28 14:49:48 +0300 |
commit | 19d4c761c1d2354e6c1deb6e1d31c949028b92d6 (patch) | |
tree | b94235f4b313cbd15542d6c7c3c7bc5942bcec74 /arch | |
parent | 9b7012dfc33db9c44add10ab58033fe167a15f13 (diff) | |
download | linux-19d4c761c1d2354e6c1deb6e1d31c949028b92d6.tar.xz |
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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions