diff options
| author | Markus Elfring <elfring@users.sourceforge.net> | 2017-11-03 09:26:28 +0100 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-12-02 10:40:07 +0000 |
| commit | aa6b707c146d4d19e87af0b995fab95bec5990a3 (patch) | |
| tree | eab5ddb4494dfc154f107e24d70b92379f7076a9 /tools/perf/scripts/python | |
| parent | 71e083aaf716fffa91cf80e85e88f3c0674be81a (diff) | |
| download | linux-aa6b707c146d4d19e87af0b995fab95bec5990a3.tar.gz linux-aa6b707c146d4d19e87af0b995fab95bec5990a3.zip | |
staging: iio: ad7746: Improve unlocking of a mutex in ad7746_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 <elfring@users.sourceforge.net>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
