summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/eswitch.c
diff options
context:
space:
mode:
authorOr Gerlitz2017-05-28 14:35:27 +0200
committerSaeed Mahameed2017-06-15 23:12:40 +0200
commit8963ca45e70c8aa9309f44b463d50bccf7932dac (patch)
treed7a73834246b56d48588883d06eac90cb5e9942b /drivers/net/ethernet/mellanox/mlx5/core/eswitch.c
parentnet/mlx5: Avoid using multiple blank lines (diff)
downloadkernel-qcow2-linux-8963ca45e70c8aa9309f44b463d50bccf7932dac.tar.gz
kernel-qcow2-linux-8963ca45e70c8aa9309f44b463d50bccf7932dac.tar.xz
kernel-qcow2-linux-8963ca45e70c8aa9309f44b463d50bccf7932dac.zip
net/mlx5: Avoid blank lines before/after closing/opening braces
Fixed checkpatch complaints on that: CHECK: Blank lines aren't necessary before a close brace '}' CHECK: Blank lines aren't necessary after an open brace '{' and one on missing blank line.. Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/eswitch.c')
-rw-r--r--drivers/net/ethernet/mellanox/mlx5/core/eswitch.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/eswitch.c b/drivers/net/ethernet/mellanox/mlx5/core/eswitch.c
index 37927156f258..89bfda419efe 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/eswitch.c
+++ b/drivers/net/ethernet/mellanox/mlx5/core/eswitch.c
@@ -1217,7 +1217,6 @@ static int esw_vport_ingress_config(struct mlx5_eswitch *esw,
"vport[%d] configure ingress rules failed, illegal mac with spoofchk\n",
vport->vport);
return -EPERM;
-
}
esw_vport_cleanup_ingress_rules(esw, vport);