net/mlx5: Remove VPORT_UPLINK handling from devlink_port.c
authorJiri Pirko <jiri@nvidia.com>
Thu, 25 May 2023 09:07:32 +0000 (11:07 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Mon, 21 Aug 2023 17:55:16 +0000 (10:55 -0700)
commit52020903f35c78e5d147c21f8a1fea1ad7631e3e
treed5943316e3ed68b42f1a42305e771ff98c3c2677
parentba3d85f008f293ed1b721a4d892b0d55a7d16e9f
net/mlx5: Remove VPORT_UPLINK handling from devlink_port.c

It is not possible that the functions in devlink_port.c are called for
uplink port. Remove this leftover code.

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/esw/devlink_port.c