[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <07a98473-1e85-cd28-3854-063a73592155@canonical.com>
Date: Tue, 6 Apr 2021 09:42:54 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>
To: samirweng1979 <samirweng1979@....com>, k.opasiak@...sung.com
Cc: linux-nfc@...ts.01.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org,
wengjianfeng <wengjianfeng@...ong.com>
Subject: Re: [PATCH v2] nfc: s3fwrn5: remove unnecessary label
On 06/04/2021 03:59, samirweng1979 wrote:
> From: wengjianfeng <wengjianfeng@...ong.com>
>
> In function s3fwrn5_nci_post_setup, the variable ret is assigned then
> goto out label, which just return ret, so we use return to replace it.
> Other goto sentences are similar, we use return sentences to replace
> goto sentences and delete out label.
>
> Signed-off-by: wengjianfeng <wengjianfeng@...ong.com>
> ---
> drivers/nfc/s3fwrn5/core.c | 12 ++++--------
> 1 file changed, 4 insertions(+), 8 deletions(-)
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>
Best regards,
Krzysztof
Powered by blists - more mailing lists