aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorJulian Wiedmann <[email protected]>2021-11-24 10:16:53 +0100
committerHeiko Carstens <[email protected]>2021-12-06 14:42:26 +0100
commite628f28793033ff760c82e04a73abe415b10a66c (patch)
tree4c1bda3b5be9bcba4a0d1e09024316c595fceaaf /net/lapb/lapb_timer.c
parent568de506e31749ae9140c1a804f3b1d1ab47b4c2 (diff)
s390/qdio: remove unneeded sanity check in qdio_do_sqbs()
All callers of set_buf_states() are already making sure that 'count' is not 0. So don't check it an additional time. Note that our own code also doesn't _require_ the count to be sane (ie. we can't overrun an array or similar). So worst case HW would simply reject the SQBS operation and report an error. Signed-off-by: Julian Wiedmann <[email protected]> Reviewed-by: Benjamin Block <[email protected]> Signed-off-by: Heiko Carstens <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions