Re: [PATCH] xircom: remove redundant error check on variable err

From: patchwork-bot+netdevbpf
Date: Wed Apr 07 2021 - 18:10:29 EST


Hello:

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

On Wed, 7 Apr 2021 10:39:22 +0100 you wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The error check on err is always false as err is always 0 at the
> port_found label. The code is redundant and can be removed.
>
> Addresses-Coverity: ("Logically dead code")
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> [...]

Here is the summary with links:
- xircom: remove redundant error check on variable err
https://git.kernel.org/netdev/net-next/c/7b3ae17f0f68

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