Commit 129571cf authored by wengjianfeng's avatar wengjianfeng Committed by Lipeng Sang
Browse files

NFC: nxp-nci: remove unnecessary labels

stable inclusion
from stable-v5.10.154
commit eecea068bf116d448c271263d879aa22926cc0d3
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I64YCB

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=eecea068bf116d448c271263d879aa22926cc0d3



--------------------------------

[ Upstream commit 96a19319 ]

Simplify the code by removing unnecessary labels and returning directly.

Signed-off-by: default avatarwengjianfeng <wengjianfeng@yulong.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Stable-dep-of: 7bf1ed6a ("nfc: nxp-nci: Fix potential memory leak in nxp_nci_send()")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarLipeng Sang <sanglipeng1@jd.com>
parent e8e91593
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment