Thread (2 messages) 2 messages, 2 authors, 2021-04-26

Re: [PATCH] pcnet32: Remove redundant variable prev_link and curr_link

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-04-26 19:55:05
Also in: lkml

Hello:

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

On Sun, 25 Apr 2021 18:35:18 +0800 you wrote:
Variable prev_link and curr_link is being assigned a value from a
calculation however the variable is never read, so this redundant
variable can be removed.

Cleans up the following clang-analyzer warning:

drivers/net/ethernet/amd/pcnet32.c:2857:4: warning: Value stored to
'prev_link' is never read [clang-analyzer-deadcode.DeadStores].

[...]
Here is the summary with links:
  - pcnet32: Remove redundant variable prev_link and curr_link
    https://git.kernel.org/netdev/net-next/c/930d2d619d0a

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