diff options
author | Wolfram Sang <[email protected]> | 2023-09-06 22:00:19 +0200 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2023-09-19 11:10:28 +0200 |
commit | be944ceb6761a6198f5df51c36fd91eb9e112704 (patch) | |
tree | bf4025061c99d0e54056f57a32bf71189d004351 /rust/macros/helpers.rs | |
parent | f78ca48a8ba9cdec96e8839351e49eec3233b177 (diff) |
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 <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'rust/macros/helpers.rs')
0 files changed, 0 insertions, 0 deletions