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

2021-04-12 Thread patchwork-bot+netdevbpf
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 > > 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

[PATCH v2] nfc: pn533: remove redundant assignment

2021-04-11 Thread samirweng1979
From: wengjianfeng 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. Signed-off-by: