net/mlx5: Remove redundant check of mlx5_vhca_event_supported()
authorJiri Pirko <jiri@nvidia.com>
Fri, 30 Jun 2023 07:41:14 +0000 (09:41 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Mon, 14 Aug 2023 21:40:21 +0000 (14:40 -0700)
commitb63f8bde2fbadc8eca96b42dd281bf99bc853167
treefbb81c104a2d85bb0abeb3687547f5426402562f
parent88074d81e5fe8b76010ea3437330d5ab55535537
net/mlx5: Remove redundant check of mlx5_vhca_event_supported()

Since mlx5_vhca_event_supported() is called in mlx5_sf_dev_supported(),
remove the redundant call.

Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Shay Drory <shayd@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c