diff options
| author | Markus Elfring <[email protected]> | 2017-11-03 09:00:25 +0100 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2017-12-02 10:40:05 +0000 |
| commit | 71e083aaf716fffa91cf80e85e88f3c0674be81a (patch) | |
| tree | 8bba64f34b7c69aa9e5e6a4e1e7e269a8ecd8850 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 9ed2484598001cdfbc8f85d349ab6b1e8fc9ee1f (diff) | |
staging: iio: ad7152: Improve unlocking of a mutex in ad7152_start_calib()
* Add a jump target so that a call of the function "mutex_unlock" is stored
only twice in this function implementation.
* Replace two calls by goto statements.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions