net/mlx5: Avoid blank lines after/before open/close brace
authorOr Gerlitz <ogerlitz@mellanox.com>
Tue, 11 Jul 2017 12:44:04 +0000 (15:44 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Sun, 20 Aug 2017 09:57:19 +0000 (12:57 +0300)
To fix these checkpatch complaints:

CHECK: Blank lines aren't necessary after an open brace '{'
CHECK: Blank lines aren't necessary before a close brace '}'

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
drivers/net/ethernet/mellanox/mlx5/core/sriov.c

index d453a11f41fe9abb005ff2e658bd2d6273fb2ec8..a75ac4d11c5bf91e5ad93760e0087b76b6c2b8a7 100644 (file)
@@ -176,7 +176,6 @@ static bool mlx5e_query_global_pause_combined(struct mlx5e_priv *priv)
 
 int mlx5e_ethtool_get_sset_count(struct mlx5e_priv *priv, int sset)
 {
-
        switch (sset) {
        case ETH_SS_STATS:
                return NUM_SW_COUNTERS +
index 5e7ffc9fad7816386648c713b3117913eed36ff2..55b07c5ecd12530b89d9a44bfdc1a22a281b71ba 100644 (file)
@@ -71,7 +71,6 @@ static int mlx5_device_enable_sriov(struct mlx5_core_dev *dev, int num_vfs)
                sriov->vfs_ctx[vf].enabled = 1;
                sriov->enabled_vfs++;
                mlx5_core_dbg(dev, "successfully enabled VF* %d\n", vf);
-
        }
 
        return 0;