]> git.itanic.dy.fi Git - linux-stable/commit
net/mlx5: Remove redundant cmdif revision check
authorShay Drory <shayd@nvidia.com>
Sun, 29 Jan 2023 10:08:30 +0000 (12:08 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 27 Jul 2023 18:37:29 +0000 (11:37 -0700)
commit0714ec9ea1f291447a925657e0808f34b8fbce2b
treef08c3da3189a98c89daafe8ede9a68e879c5ae03
parent58db72869a9f8e01910844ca145efc2ea91bbbf9
net/mlx5: Remove redundant cmdif revision check

mlx5 is checking the cmdif revision twice, for no reason.
Remove the latter check.

Signed-off-by: Shay Drory <shayd@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/cmd.c