]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Unindent the else-block in mlx5e_xmit_xdp_buff
authorMaxim Mikityanskiy <maximmi@nvidia.com>
Thu, 10 Mar 2022 16:16:17 +0000 (18:16 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 18 Mar 2022 20:51:14 +0000 (13:51 -0700)
commitb8b9f028e6d052b2166ca3287caffb0ad7ce1da1
treeaef1f842fc942dbdc42717707f8bb155df3b7dd1
parentef4aacd351b45444f2e45c7c920600b2f43937a6
net/mlx5e: Unindent the else-block in mlx5e_xmit_xdp_buff

The next commit will add more indentation levels to mlx5e_xmit_xdp_buff.
To keep indentation minimal, unindent the else-block of the if-statement
by doing an early return.

Signed-off-by: Maxim Mikityanskiy <maximmi@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c