Re: [PATCH] x25: remove redundant pointer dev

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]<

 



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





[Index of Archives]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite Photos]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux