[PATCH] net: macb: Remove redundant assignment to queue

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Fri Apr 30 00:00:10 BST 2021


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

On Thu, 29 Apr 2021 18:25:46 +0800 you wrote:
> Variable queue is set to bp->queues but these values is not used as it
> is overwritten later on, hence redundant assignment  can be removed.
> Cleans up the following clang-analyzer warning:
> drivers/net/ethernet/cadence/macb_main.c:4919:21: warning: Value stored
> to 'queue' during its initialization is never read
> [clang-analyzer-deadcode.DeadStores].
> [...]

Here is the summary with links:
  - net: macb: Remove redundant assignment to queue

You are awesome, thank you!
Deet-doot-dot, I am a bot.

More information about the linux-riscv mailing list