./drivers/net/ethernet/mellanox/mlx5/core/lag/lag.c:1518:2-10: WARNING: NULL check before dev_{put, hold} functions is not needed. In the following kernel version: name: linux-next url:https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git branch: next-20240613 commit: 6906a84c482f098d31486df8dc98cead21cce2d0