]> git.baikalelectronics.ru Git - kernel.git/commit
nfc: st-nci: remove unnecessary labels
authorwengjianfeng <wengjianfeng@yulong.com>
Wed, 26 May 2021 01:16:24 +0000 (09:16 +0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 26 May 2021 20:10:04 +0000 (13:10 -0700)
commitc7a551b2e44a65170b5dceaca0afbd59f3715f11
treeb11aaf715ecf1108ec6de967703cd3e126cda92d
parent568e7142a15f821867a39797f5b098070df4a9c8
nfc: st-nci: remove unnecessary labels

Some labels are only used once, so we delete them and use the
return statement instead of the goto statement.

Signed-off-by: wengjianfeng <wengjianfeng@yulong.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20210526011624.11204-1-samirweng1979@163.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/nfc/st-nci/vendor_cmds.c