Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3839d8ac authored by Dan Carpenter's avatar Dan Carpenter Committed by Roland Dreier
Browse files

mlx4_core: Fix some indenting in mlx4_ib_add()



The code was indented too far and also kernel style says we should have
curly braces.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarRoland Dreier <roland@purestorage.com>
parent 2c34e68f
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -2056,9 +2056,10 @@ static void *mlx4_ib_add(struct mlx4_dev *dev)
			err = mlx4_counter_alloc(ibdev->dev, &ibdev->counters[i]);
			if (err)
				ibdev->counters[i] = -1;
		} else
		} else {
			ibdev->counters[i] = -1;
		}
	}

	mlx4_foreach_port(i, dev, MLX4_PORT_TYPE_IB)
		ib_num_ports++;