aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorJulian Wiedmann <[email protected]>2020-04-21 17:20:00 +0200
committerVasily Gorbik <[email protected]>2020-04-28 13:49:48 +0200
commit19d4c761c1d2354e6c1deb6e1d31c949028b92d6 (patch)
treeb94235f4b313cbd15542d6c7c3c7bc5942bcec74 /scripts/gcc-plugins/cyc_complexity_plugin.c
parent9b7012dfc33db9c44add10ab58033fe167a15f13 (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 <[email protected]> Reviewed-by: Benjamin Block <[email protected]> Signed-off-by: Vasily Gorbik <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions