common/mlx5: remove unused lcore check
authorSuanming Mou <suanmingm@nvidia.com>
Tue, 31 May 2022 01:25:48 +0000 (04:25 +0300)
committerRaslan Darawsheh <rasland@nvidia.com>
Sun, 5 Jun 2022 15:04:43 +0000 (17:04 +0200)
commitdfa2f5338757ea84f39426a3068c58c9d71e8d68
treefa083aaf2d82e88b20a84c74a8e86b07c504dcf9
parentc4716123a1e8ac79eadf57054145e330c9f7ed8b
common/mlx5: remove unused lcore check

While non-lcore list operations were supported, non-lcore index will
be converted to MLX5_LIST_NLCORE. In that case, no need to check the
lcore index be -1 or not anymore.

This commit removes the unused lcore check in list.

Fixes: 7e1cf892711b ("common/mlx5: support list non-lcore operations")
Cc: stable@dpdk.org
Signed-off-by: Suanming Mou <suanmingm@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/common/mlx5/mlx5_common_utils.c