Re: [PATCH] net: macb: Remove redundant assignment to queue
From: patchwork-bot+netdevbpf
Date: Thu Apr 29 2021 - 19:00:30 EST
Hello:
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
https://git.kernel.org/netdev/net/c/bbf6acea6ecf
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html