net/mlx5e: Remove unreachable code in mlx5e_xmit()
authorVladyslav Tarasiuk <vladyslavt@nvidia.com>
Tue, 11 May 2021 14:56:26 +0000 (17:56 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 3 Jun 2021 20:10:21 +0000 (13:10 -0700)
commitf68406ca3b77c90d249e7f50e8f3015408d9ad4a
treeed2274bdf8693eb5991748102451f01b7d028890
parent39e8cc6d757af7ee5edf5826102c95e3f5bb374b
net/mlx5e: Remove unreachable code in mlx5e_xmit()

After some commits, mlx5e_txwqe_build_eseg() lost its ability to return
boolean value and became effectively void.

Change its return type to void and remove unreachable branches.

Signed-off-by: Vladyslav Tarasiuk <vladyslavt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_accel/en_accel.h
drivers/net/ethernet/mellanox/mlx5/core/en_tx.c