Re: [PATCH] nfc/fdp: remove unnecessary assignment and label

From: patchwork-bot+netdevbpf
Date: Wed Apr 07 2021 - 17:40:16 EST


Hello:

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

On Wed, 7 Apr 2021 11:16:38 +0800 you wrote:
> From: wengjianfeng <wengjianfeng@xxxxxxxxxx>
>
> In function fdp_nci_patch_otp and fdp_nci_patch_ram,many goto
> out statements are used, and out label just return variable r.
> in some places,just jump to the out label, and in other places,
> assign a value to the variable r,then jump to the out label.
> It is unnecessary, we just use return sentences to replace goto
> sentences and delete out label.
>
> [...]

Here is the summary with links:
- nfc/fdp: remove unnecessary assignment and label
https://git.kernel.org/netdev/net-next/c/872fff333fb1

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