diff options
| author | Umang Jain <umang.jain@ideasonboard.com> | 2024-10-13 16:51:27 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-10-13 15:47:35 +0200 |
| commit | 8cea95f40fed5141f1950f9547839cbc436c9486 (patch) | |
| tree | 44b44218d9f69b30ee4982fed5fd2de8e71c1f93 /tools/perf/scripts/python | |
| parent | staging: vchiq_core: Refactor notify_bulks() (diff) | |
| download | linux-8cea95f40fed5141f1950f9547839cbc436c9486.tar.gz linux-8cea95f40fed5141f1950f9547839cbc436c9486.zip | |
staging: vchiq_core: Lower indentation in parse_open()
If the service is not in VCHIQ_SRVSTATE_LISTENING state, it is
implied that the message is dealt with and parse_open() should return.
If this is the case, simply jump the code flow to return site using
'goto done;' statement.
This helps to lower the indentation of
if (service->srvstate == VCHIQ_SRVSTATE_LISTENING)
conditional branch.
No functional changes intended in this patch.
Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Stefan Wahren <wahrenst@gmx.net>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/20241013112128.397249-6-umang.jain@ideasonboard.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
