diff options
| author | Sang-Heon Jeon <ekffu200098@gmail.com> | 2026-07-28 03:47:46 +0900 |
|---|---|---|
| committer | Jonathan Cameron <jonathan.cameron@oss.qualcomm.com> | 2026-08-03 22:32:32 +0100 |
| commit | 017e71cbe0cf25052d7baf42332cb5279f3ac036 (patch) | |
| tree | 58c1eada19d313bcd84cef41888e6bc2baaa1066 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 0addd3b68830a6870d556c6c570837f2a823343d (diff) | |
iio: magnetometer: ak8974: remove conditional return with no effect
Both branches of the check return the same value, so the check has no
effect. Remove it and return the value directly.
This is the result of running the Coccinelle script from
scripts/coccinelle/misc/cond_return_no_effect.cocci.
Signed-off-by: Sang-Heon Jeon <ekffu200098@gmail.com>
Reviewed-by: Joshua Crofts <joshua.crofts1@gmail.com>
Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
