diff options
| author | Stefan Wahren <stefan.wahren@i2se.com> | 2021-06-03 17:50:02 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-04 15:10:03 +0200 |
| commit | 60f394b50fa07cf27ffcb2f73f56682a40a68540 (patch) | |
| tree | 77be323fecfdaeba16864d6e46f4d164634308cc /scripts | |
| parent | 88a6ab1d0ab1374bdd6216044f9033b25d4cde5c (diff) | |
staging: vchiq_core: reduce indentation in parse_open
The function parse_open() already has bail out sections like fail_open.
So use a goto for the other error cases like payload size is too small
and listening service cannot be found. This avoids two indentation levels.
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Link: https://lore.kernel.org/r/1622735405-9980-14-git-send-email-stefan.wahren@i2se.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
