[lvc-project] [PATCH net-next] net/mlx4_en: Remove the redundant NULL check for the 'my_ets' object
patchwork-bot+netdevbpf at kernel.org
patchwork-bot+netdevbpf at kernel.org
Thu Jun 19 13:10:06 MSK 2025
Hello:
This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni at redhat.com>:
On Mon, 16 Jun 2025 04:50:44 +0000 you wrote:
> From: Andrey Vatoropin <a.vatoropin at crpt.ru>
>
> 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
More information about the lvc-project
mailing list