Thread (2 messages) 2 messages, 2 authors, 2021-12-13

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

flat view

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-12-13 15:00:21
Also in: linux-arm-kernel, linux-mediatek, linux-wireless, lkml, llvm

Hello:

This patch was applied to netdev/net-next.git (master)
by David S. Miller [off-list ref]:

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

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