diff options
| author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2023-09-06 22:00:19 +0200 |
|---|---|---|
| committer | Wolfram Sang <wsa@kernel.org> | 2023-09-19 11:10:28 +0200 |
| commit | be944ceb6761a6198f5df51c36fd91eb9e112704 (patch) | |
| tree | bf4025061c99d0e54056f57a32bf71189d004351 /tools/perf/scripts/python | |
| parent | i2c: i801: fix potential race in i801_block_transaction_byte_by_byte (diff) | |
| download | linux-be944ceb6761a6198f5df51c36fd91eb9e112704.tar.gz linux-be944ceb6761a6198f5df51c36fd91eb9e112704.zip | |
i2c: rcar: avoid non-standard use of goto
Kernel functions goto somewhere on error conditions. Using goto for the
default path is irritating. Let's bail out on error instead and use a
proper retval.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
