]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: kTLS, Cleanup redundant capability check
authorTariq Toukan <tariqt@mellanox.com>
Mon, 22 Jun 2020 15:32:36 +0000 (18:32 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Sat, 27 Jun 2020 21:00:25 +0000 (14:00 -0700)
commit961ec1a9d8caa08d8dc555926928713e255c53ea
tree60f4e76483b805b4f2d8270356daf720ff55a79f
parent088b8f7cab13029f3c21e9b8258baccf1e99c165
net/mlx5e: kTLS, Cleanup redundant capability check

All callers of mlx5e_ktls_build_netdev() check capability
before the call.
Remove the repeated check in the function.

Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Reviewed-by: Maxim Mikityanskiy <maximmi@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls.c