diff options
| author | 2017-11-14 16:29:41 -0500 | |
|---|---|---|
| committer | 2017-12-11 16:19:41 -0700 | |
| commit | e3649293b9e0ec0c83e6271f0a5cbe7bf7019cb9 (patch) | |
| tree | 203640add84d87734031bbdfe13af6841197a649 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | IB/qib: remove redundant setting of any in for-loop (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 <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/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
