Re: [PATCH -next] mt76: remove variable set but not used

From: patchwork-bot+netdevbpf
Date: Mon Dec 13 2021 - 10:00:22 EST


Hello:

This patch was applied to netdev/net-next.git (master)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Mon, 13 Dec 2021 17:54:13 +0800 you wrote:
> The code that uses variable queued has been removed,
> and "mt76_is_usb(dev) ? q->ndesc - q->queued : q->queued"
> didn't do anything, so all they should be removed as well.
>
> Eliminate the following clang warnings:
> drivers/net/wireless/mediatek/mt76/debugfs.c:77:9: warning: variable
> ‘queued’ set but not used.
>
> [...]

Here is the summary with links:
- [-next] mt76: remove variable set but not used
https://git.kernel.org/netdev/net-next/c/93d576f54e0f

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