aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2020-05-19 11:36:12 -0500
committerJason Gunthorpe <jgg@mellanox.com>2020-05-19 20:41:41 -0300
commite19840867013f0f4081265fdb65b31e80b7bcb5b (patch)
tree5bdd5021f75e35c5b08af136974d8c7788d3ca7d /tools/perf/scripts/python/netdev-times.py
parentRDMA/rtrs: Fix a couple off by one bugs in rtrs_srv_rdma_done() (diff)
downloadlinux-e19840867013f0f4081265fdb65b31e80b7bcb5b.tar.gz
linux-e19840867013f0f4081265fdb65b31e80b7bcb5b.zip
RDMA/rtrs: client: Fix function return on success
Remove the if-statement and return the value contained in _err_, unconditionally. Link: https://lore.kernel.org/r/20200519163612.GA6043@embeddedor Addresses-Coverity-ID: 1493753 ("Identical code for different branches") Fixes: 6a98d71daea1 ("RDMA/rtrs: client: main functionality") Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions