Re: [PATCH] nfc: s3fwrn5: remove unnecessary label

2021-04-02 Thread Krzysztof Kozlowski
On 02/04/2021 14:15, samirweng1979 wrote: > From: wengjianfeng > > In function s3fwrn5_nci_post_setup, The variable ret is assigned to 0, > then goto out label, but just return ret in out label, so we use > return 0 to replace it. and other goto sentences are similar, we use > return sentences to

[PATCH] nfc: s3fwrn5: remove unnecessary label

2021-04-02 Thread samirweng1979
From: wengjianfeng In function s3fwrn5_nci_post_setup, The variable ret is assigned to 0, then goto out label, but just return ret in out label, so we use return 0 to replace it. and other goto sentences are similar, we use return sentences to replace it and delete out label. Signed-off-by: weng