Re: [PATCH 7/8] staging: vchiq_core: Lower indentation in parse_open()

From: Stefan Wahren
Date: Fri Oct 11 2024 - 07:08:27 EST


Am 11.10.24 um 09:22 schrieb Umang Jain:
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@xxxxxxxxxxxxxxxx>
Reviewed-by: Stefan Wahren <wahrenst@xxxxxxx>