nfc: s3fwrn5: remove unnecessary label
authorwengjianfeng <wengjianfeng@yulong.com>
Tue, 6 Apr 2021 01:59:54 +0000 (09:59 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Apr 2021 23:24:20 +0000 (16:24 -0700)
commitb58c4649d94eebb1257e0716e4e948dcaa4ae5b5
tree2f8cc58dea4e66f59395e09ea9b5839e13d0cef0
parentb3feb439f28ed523e57096142e752d2ffd8ca962
nfc: s3fwrn5: remove unnecessary label

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@yulong.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/nfc/s3fwrn5/core.c