Re: [PATCH net-next] net/mlx4_en: Remove the redundant NULL check for the 'my_ets' object
From: patchwork-bot+netdevbpf
Date: Thu Jun 19 2025 - 06:09:49 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:
On Mon, 16 Jun 2025 04:50:44 +0000 you wrote:
> From: Andrey Vatoropin <a.vatoropin@xxxxxxx>
>
> Static analysis shows that pointer "my_ets" cannot be NULL because it
> points to the object "struct ieee_ets".
>
> Remove the extra NULL check. It is meaningless and harms the readability
> of the code.
>
> [...]
Here is the summary with links:
- [net-next] net/mlx4_en: Remove the redundant NULL check for the 'my_ets' object
https://git.kernel.org/netdev/net-next/c/f6be1f290c65
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html