diff options
| author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2020-05-19 11:36:12 -0500 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@mellanox.com> | 2020-05-19 20:41:41 -0300 |
| commit | e19840867013f0f4081265fdb65b31e80b7bcb5b (patch) | |
| tree | 5bdd5021f75e35c5b08af136974d8c7788d3ca7d /tools/perf/scripts/python/netdev-times.py | |
| parent | RDMA/rtrs: Fix a couple off by one bugs in rtrs_srv_rdma_done() (diff) | |
| download | linux-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
