[PATCH] net: thunderx: remove null check after call container_of()

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Tue May 17 17:50:11 PDT 2022


Hello:

This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba at kernel.org>:

On Mon, 16 May 2022 18:16:52 +0800 you wrote:
> container_of() will never return NULL, so remove useless code.
> 
> Signed-off-by: Haowen Bai <baihaowen at meizu.com>
> ---
>  drivers/net/ethernet/cavium/thunder/nicvf_main.c | 3 ---
>  1 file changed, 3 deletions(-)

Here is the summary with links:
  - net: thunderx: remove null check after call container_of()
    https://git.kernel.org/netdev/net-next/c/ab4d6357c95f

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





More information about the linux-arm-kernel mailing list