Re: [PATCH v2] nfc: st95hf: remove unnecessary assignment and label

From: patchwork-bot+netdevbpf
Date: Wed May 26 2021 - 16:20:14 EST


Hello:

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

On Wed, 26 May 2021 08:56:51 +0800 you wrote:
> From: wengjianfeng <wengjianfeng@xxxxxxxxxx>
>
> In function st95hf_in_send_cmd, the variable rc is assigned then goto
> error label, which just returns rc, so we use return to replace it.
> Since error label only used once in the function, so we remove error label.
>
> Signed-off-by: wengjianfeng <wengjianfeng@xxxxxxxxxx>
>
> [...]

Here is the summary with links:
- [v2] nfc: st95hf: remove unnecessary assignment and label
https://git.kernel.org/netdev/net-next/c/568e7142a15f

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