Re: [PATCH][next] netxen_nic: remove redundant assignment to variable capability

From: patchwork-bot+netdevbpf
Date: Thu Feb 08 2024 - 22:11:47 EST


Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Tue, 6 Feb 2024 11:50:49 +0000 you wrote:
> The variable capability is being assigned a value that is never
> read and is being re-assigned later. The assignment is redundant and
> can be removed. Also remove empty line before assignment to capability.
>
> Cleans up clang scan build warning:
> drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:1189:2: warning:
> Value stored to 'capability' is never read [deadcode.DeadStores]
>
> [...]

Here is the summary with links:
- [next] netxen_nic: remove redundant assignment to variable capability
https://git.kernel.org/netdev/net-next/c/a6c15d7ff29c

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