Re: [PATCH v2] nfc: pn533: remove redundant assignment

From: patchwork-bot+netdevbpf
Date: Mon Apr 12 2021 - 16:30:15 EST


Hello:

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

On Mon, 12 Apr 2021 10:20:06 +0800 you wrote:
> From: wengjianfeng <wengjianfeng@xxxxxxxxxx>
>
> In many places,first assign a value to a variable and then return
> the variable. which is redundant, we should directly return the value.
> in pn533_rf_field funciton,return rc also in the if statement, so we
> use return 0 to replace the last return rc.
>
> [...]

Here is the summary with links:
- [v2] nfc: pn533: remove redundant assignment
https://git.kernel.org/netdev/net-next/c/a115d24a636e

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