aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJoe Perches <[email protected]>2017-11-14 16:29:41 -0500
committerJason Gunthorpe <[email protected]>2017-12-11 16:19:41 -0700
commite3649293b9e0ec0c83e6271f0a5cbe7bf7019cb9 (patch)
tree203640add84d87734031bbdfe13af6841197a649 /tools/perf/scripts/python/export-to-postgresql.py
parent3365776ebf6a21d7c4036125fd59b01efc1c060b (diff)
IB/qib: Cleanup qib_set_part_key() with direct returns
Perhaps the function is better written without the empty bail: label and without setting ret and just using return. Combining the int/bool conversion of any and the direct returns makes the resulting code clearer. Tested-by: Mike Marciniszyn <[email protected]> Signed-off-by: Joe Perches <[email protected]> Signed-off-by: Mike Marciniszyn <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions