Re: [PATCH v2] net: ethernet: sun: Remove redundant code

From: patchwork-bot+netdevbpf
Date: Fri Mar 04 2022 - 08:10:47 EST


Hello:

This patch was applied to netdev/net-next.git (master)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Fri, 4 Mar 2022 16:36:53 +0800 you wrote:
> Since the starting value in the for loop is greater than or equal to 1,
> the restriction is CAS_FLAG_REG_PLUS is in the file cassini.h is
> defined as 0x1 by macro, and the for loop and if condition is not
> satisfied, so the code here is redundant.
>
> Clean up the following smatch warning:
>
> [...]

Here is the summary with links:
- [v2] net: ethernet: sun: Remove redundant code
https://git.kernel.org/netdev/net-next/c/1039135aedfc

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