Re: [PATCH] nfc: st-nci: remove unnecessary assignment and label

From: patchwork-bot+netdevbpf
Date: Mon May 24 2021 - 16:20:17 EST


Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Mon, 24 May 2021 10:11:23 +0800 you wrote:
> From: wengjianfeng <wengjianfeng@xxxxxxxxxx>
>
> In function st_nci_hci_network_init, the variable r is assigned then
> goto exit label, which just return r, so we use return to replace it.
> and exit label only used once at here, so we remove exit label.
>
> Signed-off-by: wengjianfeng <wengjianfeng@xxxxxxxxxx>
>
> [...]

Here is the summary with links:
- nfc: st-nci: remove unnecessary assignment and label
https://git.kernel.org/netdev/net-next/c/62f148d8dde6

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html