]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: CT: Remove redundant usage of zone mask
authorRoi Dayan <roid@nvidia.com>
Tue, 12 Jan 2021 07:05:30 +0000 (23:05 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 13 Jan 2021 23:45:58 +0000 (15:45 -0800)
commit9855b38ed19f52467bc4b36bc9f64216ebe82395
treed45447c5b18964b9a981206fc356e8abf5b696d7
parenteafef1e3ccc876231084f2527fa31b0f9b227dcb
net/mlx5e: CT: Remove redundant usage of zone mask

The zone member is of type u16 so there is no reason to apply
the zone mask on it. This is also matching the call to set a
match in other places which don't need and don't apply the mask.

Signed-off-by: Roi Dayan <roid@nvidia.com>
Reviewed-by: Paul Blakey <paulb@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c