]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: IPsec, Avoid unreachable return
authorTariq Toukan <tariqt@nvidia.com>
Tue, 12 Jan 2021 07:05:32 +0000 (23:05 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 13 Jan 2021 23:45:58 +0000 (15:45 -0800)
commit795bcc743c6e9d100fc78cb88263897d77b1ac12
tree646cb3f55f41fc3d4bb7b741907aa86135f3c030
parent305da635de215b674ac1287e4a47626778b54080
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>
drivers/net/ethernet/mellanox/mlx5/core/en_accel/en_accel.h