author: Dima Chumak <dchumak@nvidia.com> 2022-01-17 15:32:16 +0200
committer: Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2022-03-16 14:26:50 +0100
commit: a0347a63d1bdd9b31a3eb2ba8d72d80bdd2a4d83
parent: 290902a5258048b5b820d25bc6bfc2e7216efbe0
Commit Summary:
Diffstat:
1 file changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/lib/fs_chains.c b/drivers/net/ethernet/mellanox/mlx5/core/lib/fs_chains.c
index 1e8ec4f236b2..df58cba37930 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/lib/fs_chains.c
+++ b/drivers/net/ethernet/mellanox/mlx5/core/lib/fs_chains.c
@@ -121,9 +121,6 @@ u32 mlx5_chains_get_nf_ft_chain(struct mlx5_fs_chains *chains)
u32 mlx5_chains_get_prio_range(struct mlx5_fs_chains *chains)
{
- if (!mlx5_chains_prios_supported(chains))
- return 1;
-
if (mlx5_chains_ignore_flow_level_supported(chains))
return UINT_MAX;