aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2020-05-19 11:36:12 -0500
committerJason Gunthorpe <[email protected]>2020-05-19 20:41:41 -0300
commite19840867013f0f4081265fdb65b31e80b7bcb5b (patch)
tree5bdd5021f75e35c5b08af136974d8c7788d3ca7d /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py
parentbf1d8edb38bbf0628c1f2de7d13ab98533c1fe60 (diff)
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 <[email protected]> Reviewed-by: Bart Van Assche <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions