diff options
author | Christophe Jaillet <christophe.jaillet@wanadoo.fr> | 2016-07-02 14:31:05 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-04 15:22:33 -0700 |
commit | 5d4de16c6db6ecc51a549bfbf7ca1c11c82a4240 (patch) | |
tree | e7240e5433646492b3d695a53a644d82afcc06e1 /drivers/net/ethernet/mellanox/mlx4/main.c | |
parent | 61cc535de36838bf4cfe08c8c4eeaad1ca4a89b1 (diff) | |
download | op-kernel-dev-5d4de16c6db6ecc51a549bfbf7ca1c11c82a4240.zip op-kernel-dev-5d4de16c6db6ecc51a549bfbf7ca1c11c82a4240.tar.gz |
net/mlx4: Fix some indent inconsistancy
Silent a few smatch warnings about indentation.
This include the removal of a 'return' statement in 'resource_tracker.c'.
This 'return' will still be performed when breaking out of the
corresponding 'switch' block.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/main.c')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx4/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx4/main.c b/drivers/net/ethernet/mellanox/mlx4/main.c index b673a5f..75dd2e3 100644 --- a/drivers/net/ethernet/mellanox/mlx4/main.c +++ b/drivers/net/ethernet/mellanox/mlx4/main.c @@ -2600,7 +2600,7 @@ static int mlx4_setup_hca(struct mlx4_dev *dev) err = mlx4_init_uar_table(dev); if (err) { mlx4_err(dev, "Failed to initialize user access region table, aborting\n"); - return err; + return err; } err = mlx4_uar_alloc(dev, &priv->driver_uar); |