summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx4/intf.c
diff options
context:
space:
mode:
authorChristophe Jaillet <christophe.jaillet@wanadoo.fr>2016-07-02 14:31:05 +0200
committerDavid S. Miller <davem@davemloft.net>2016-07-04 15:22:33 -0700
commit5d4de16c6db6ecc51a549bfbf7ca1c11c82a4240 (patch)
treee7240e5433646492b3d695a53a644d82afcc06e1 /drivers/net/ethernet/mellanox/mlx4/intf.c
parent61cc535de36838bf4cfe08c8c4eeaad1ca4a89b1 (diff)
downloadlinux-5d4de16c6db6ecc51a549bfbf7ca1c11c82a4240.tar.gz
linux-5d4de16c6db6ecc51a549bfbf7ca1c11c82a4240.tar.bz2
linux-5d4de16c6db6ecc51a549bfbf7ca1c11c82a4240.zip
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/intf.c')
-rw-r--r--drivers/net/ethernet/mellanox/mlx4/intf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx4/intf.c b/drivers/net/ethernet/mellanox/mlx4/intf.c
index dec77d6f0ac9..7ae1cdad9bf0 100644
--- a/drivers/net/ethernet/mellanox/mlx4/intf.c
+++ b/drivers/net/ethernet/mellanox/mlx4/intf.c
@@ -147,7 +147,7 @@ int mlx4_do_bond(struct mlx4_dev *dev, bool enable)
if (enable) {
dev->flags |= MLX4_FLAG_BONDED;
} else {
- ret = mlx4_virt2phy_port_map(dev, 1, 2);
+ ret = mlx4_virt2phy_port_map(dev, 1, 2);
if (ret) {
mlx4_err(dev, "Fail to reset port map\n");
return ret;