summaryrefslogtreecommitdiff
path: root/arch/s390
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2020-04-21 18:20:00 +0300
committerVasily Gorbik <gor@linux.ibm.com>2020-04-28 14:49:48 +0300
commit19d4c761c1d2354e6c1deb6e1d31c949028b92d6 (patch)
treeb94235f4b313cbd15542d6c7c3c7bc5942bcec74 /arch/s390
parent9b7012dfc33db9c44add10ab58033fe167a15f13 (diff)
downloadlinux-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/s390')
0 files changed, 0 insertions, 0 deletions