Thread (3 messages) flat view 3 messages, 3 authors, 2024-02-09

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

From: patchwork-bot+netdevbpf@kernel.org
Date: 2024-02-09 03:11:08
Also in: kernel-janitors, lkml

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski [off-list ref]:

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help