Re: [PATCH v2] netdevsim: fib: Remove redundant code

2021-03-11 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Thu, 11 Mar 2021 15:11:01 +0800 you wrote: > Fix the following coccicheck warnings: > > ./drivers/net/netdevsim/fib.c:874:5-8: Unneeded variable: "err". Return > "0" on line 889. > > Reported-by: Abaci Robot > Signed-

Re: [PATCH v2] netdevsim: fib: Remove redundant code

2021-03-11 Thread Jakub Kicinski
On Thu, 11 Mar 2021 15:11:01 +0800 Jiapeng Chong wrote: > Fix the following coccicheck warnings: > > ./drivers/net/netdevsim/fib.c:874:5-8: Unneeded variable: "err". Return > "0" on line 889. > > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Chong Reviewed-by: Jakub Kicinski

[PATCH v2] netdevsim: fib: Remove redundant code

2021-03-10 Thread Jiapeng Chong
Fix the following coccicheck warnings: ./drivers/net/netdevsim/fib.c:874:5-8: Unneeded variable: "err". Return "0" on line 889. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- Changes in v2: - Modify the function type to void. drivers/net/netdevsim/fib.c | 6 +- 1 file changed