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>
This commit is contained in:
Or Gerlitz 2017-05-28 15:35:27 +03:00 committed by Saeed Mahameed
parent 1b9f533a90
commit 8963ca45e7
4 changed files with 1 additions and 4 deletions

View File

@ -3067,7 +3067,6 @@ mlx5e_get_stats(struct net_device *dev, struct rtnl_link_stats64 *stats)
*/ */
stats->multicast = stats->multicast =
VPORT_COUNTER_GET(vstats, received_eth_multicast.packets); VPORT_COUNTER_GET(vstats, received_eth_multicast.packets);
} }
static void mlx5e_set_rx_mode(struct net_device *dev) static void mlx5e_set_rx_mode(struct net_device *dev)

View File

@ -1019,7 +1019,6 @@ mlx5e_vport_rep_load(struct mlx5_eswitch *esw, struct mlx5_eswitch_rep *rep)
mlx5e_destroy_netdev(netdev_priv(netdev)); mlx5e_destroy_netdev(netdev_priv(netdev));
kfree(rpriv); kfree(rpriv);
return err; return err;
} }
static void static void

View File

@ -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[%d] configure ingress rules failed, illegal mac with spoofchk\n",
vport->vport); vport->vport);
return -EPERM; return -EPERM;
} }
esw_vport_cleanup_ingress_rules(esw, vport); esw_vport_cleanup_ingress_rules(esw, vport);

View File

@ -104,6 +104,7 @@ struct node_caps {
size_t arr_sz; size_t arr_sz;
long *caps; long *caps;
}; };
static struct init_tree_node { static struct init_tree_node {
enum fs_node_type type; enum fs_node_type type;
struct init_tree_node *children; struct init_tree_node *children;
@ -1858,7 +1859,6 @@ static int create_anchor_flow_table(struct mlx5_flow_steering *steering)
static int init_root_ns(struct mlx5_flow_steering *steering) static int init_root_ns(struct mlx5_flow_steering *steering)
{ {
steering->root_ns = create_root_ns(steering, FS_FT_NIC_RX); steering->root_ns = create_root_ns(steering, FS_FT_NIC_RX);
if (!steering->root_ns) if (!steering->root_ns)
goto cleanup; goto cleanup;