diff options
| author | Martin Kelly <[email protected]> | 2019-02-02 13:56:01 -0800 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2019-02-09 15:25:25 +0000 |
| commit | 94edaac707e2882513b8b8b83482e4cba77863e7 (patch) | |
| tree | e6103820cb7a2e99247893329b4821af46577613 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 0a3f50e4d698e3d46ce10171dcd076c927bb60a8 (diff) | |
iio:bmi160: use if (ret) instead of if (ret < 0)
We are using "if (ret < 0)" in many places in which the function returns 0
on success. Use "if (ret)" instead for better clarity and correctness.
Signed-off-by: Martin Kelly <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions