summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2017-11-14 16:29:41 -0500
committerJason Gunthorpe <jgg@mellanox.com>2017-12-11 16:19:41 -0700
commite3649293b9e0ec0c83e6271f0a5cbe7bf7019cb9 (patch)
tree203640add84d87734031bbdfe13af6841197a649 /tools/perf/scripts/python
parent3365776ebf6a21d7c4036125fd59b01efc1c060b (diff)
downloadlinux-e3649293b9e0ec0c83e6271f0a5cbe7bf7019cb9.tar.gz
linux-e3649293b9e0ec0c83e6271f0a5cbe7bf7019cb9.zip
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 <mike.marciniszyn@intel.com> Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions