net/mlx5e: kTLS, Remove unneeded cipher type checks
authorTariq Toukan <tariqt@mellanox.com>
Sun, 6 Oct 2019 15:25:17 +0000 (18:25 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 18 Oct 2019 19:11:53 +0000 (12:11 -0700)
commitecdc65a3ec5d45725355479d63c23a20f4582104
tree4ec601473493dc16d396aae33fd4f1ffe3ef89b5
parent84d1bb2b139e0184b1754aa1b5776186b475fce8
net/mlx5e: kTLS, Remove unneeded cipher type checks

Cipher type is checked upon connection addition.
No need to recheck it per every TX resync invocation.

Fixes: d2ead1f360e8 ("net/mlx5e: Add kTLS TX HW offload support")
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Reviewed-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c