net/mlx5e: IPsec, Avoid unreachable return
Simple code improvement, move default return operation under the #else block. Signed-off-by: Tariq Toukan <tariqt@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>
This commit is contained in:
Родитель
3a28eda94c
Коммит
f3bea940b1
|
@ -144,9 +144,9 @@ static inline bool mlx5e_accel_tx_is_ipsec_flow(struct mlx5e_accel_tx_state *sta
|
|||
{
|
||||
#ifdef CONFIG_MLX5_EN_IPSEC
|
||||
return mlx5e_ipsec_is_tx_flow(&state->ipsec);
|
||||
#endif
|
||||
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
static inline unsigned int mlx5e_accel_tx_ids_len(struct mlx5e_txqsq *sq,
|
||||
|
|
Загрузка…
Ссылка в новой задаче