net/mlx5: remove unneeded constant
authorDekel Peled <dekelp@mellanox.com>
Tue, 27 Aug 2019 10:46:34 +0000 (13:46 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Sep 2019 15:15:14 +0000 (17:15 +0200)
commitd2ceaa7353c4e9ef925a8753bc5e5d13eb7bcbeb
tree8dc5f31b93a65a4b9909a8222843d6228f5549ee
parentc9ba7523c4f5ab03ed0c68be35fc47bce9da89e5
net/mlx5: remove unneeded constant

Constant MLX5_GROUP_FACTOR is defined with value 1, and used to
multiply group value in two places.

This patch removes the unneeded constant definition and use.

Fixes: 4f84a19779ca ("net/mlx5: add Direct Rules API")
Cc: stable@dpdk.org
Signed-off-by: Dekel Peled <dekelp@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_flow_dv.c