Re: [PATCH] x25: remove redundant pointer dev

From: patchwork-bot+netdevbpf
Date: Tue May 10 2022 - 06:10:19 EST


Hello:

This patch was applied to netdev/net-next.git (master)
by Paolo Abeni <pabeni@xxxxxxxxxx>:

On Sun, 8 May 2022 22:45:00 +0100 you wrote:
> Pointer dev is being assigned a value that is never used, the assignment
> and the variable are redundant and can be removed. Also replace null check
> with the preferred !ptr idiom.
>
> Cleans up clang scan warning:
> net/x25/x25_proc.c:94:26: warning: Although the value stored to 'dev' is
> used in the enclosing expression, the value is never actually read
> from 'dev' [deadcode.DeadStores]
>
> [...]

Here is the summary with links:
- x25: remove redundant pointer dev
https://git.kernel.org/netdev/net-next/c/ecd17a87eb78

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