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

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

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

2021-04-07 Thread Colin King
From: Colin Ian King 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 --- drivers/net/ethernet/xircom/xirc2ps_cs.c | 2 -- 1 file changed, 2 del