]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: IPsec, Remove unnecessary config flag usage
authorTariq Toukan <tariqt@nvidia.com>
Tue, 12 Jan 2021 07:05:34 +0000 (23:05 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 13 Jan 2021 23:45:58 +0000 (15:45 -0800)
commit99ff77c80972164475321cb7dedf2e131e3d5306
tree48c7e3964c7d6d2e4d64f653d5115528afe9b65c
parent4309e258d756d22b4c5b8d692e59487941a68998
net/mlx5e: IPsec, Remove unnecessary config flag usage

MLX5_IPSEC_DEV() is always defined, no need to protect it under config
flag CONFIG_MLX5_EN_IPSEC, especially in slow path.

Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Raed Salem <raeds@nvidia.com>
Reviewed-by: Huy Nguyen <huyn@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_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c