[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164763901071.24897.18138645596476086788.git-patchwork-notify@kernel.org>
Date: Fri, 18 Mar 2022 21:30:10 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Colin Ian King <colin.i.king@...il.com>
Cc: shshaikh@...vell.com, manishc@...vell.com,
GR-Linux-NIC-Dev@...vell.com, davem@...emloft.net,
pabeni@...hat.com, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org,
llvm@...ts.linux.dev
Subject: Re: [PATCH] qlcnic: remove redundant assignment to variable index
Hello:
This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@...nel.org>:
On Fri, 18 Mar 2022 01:20:35 +0000 you wrote:
> Variable index is being assigned a value that is never read, it is being
> re-assigned later in a following for-loop. The assignment is redundant
> and can be removed.
>
> Cleans up clang scan build warning:
> drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c:1358:17: warning:
> Although the value stored to 'index' is used in the enclosing expression,
> the value is never actually read from 'index' [deadcode.DeadStores]
>
> [...]
Here is the summary with links:
- qlcnic: remove redundant assignment to variable index
https://git.kernel.org/netdev/net-next/c/79fdce0513ac
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists