> On Feb 18, 2017, at 11:12 PM, SF Markus Elfring > <[email protected]> wrote: > > From: Markus Elfring <[email protected]> > Date: Sat, 18 Feb 2017 16:32:41 +0100 > > Do not use curly brackets at one source code place > where a single statement should be sufficient. > > Signed-off-by: Markus Elfring <[email protected]> > --- > drivers/infiniband/hw/mlx4/main.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/infiniband/hw/mlx4/main.c > b/drivers/infiniband/hw/mlx4/main.c > index 33b46c463ffa..b950538e036e 100644 > --- a/drivers/infiniband/hw/mlx4/main.c > +++ b/drivers/infiniband/hw/mlx4/main.c > @@ -2898,9 +2898,8 @@ static void *mlx4_ib_add(struct mlx4_dev *dev) > } > if (dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_ROCE_V1_V2) { > err = mlx4_config_roce_v2_port(dev, ROCE_V2_UDP_DPORT); > - if (err) { > + if (err) > goto err_notif; > - } > } > } > > -- > 2.11.1 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-rdma" in > the body of a message to [email protected] > More majordomo info at http://vger.kernel.org/majordomo-info.html Thanks, Reviewed-by: Majd Dibbiny <[email protected]>
- [PATCH 13/29] IB/mlx4: Split a condition check in five f... SF Markus Elfring
- [PATCH 19/29] IB/mlx4: Delete an unnecessary variable as... SF Markus Elfring
- [PATCH 14/29] IB/mlx4: Delete an unnecessary variable in... SF Markus Elfring
- [PATCH 20/29] IB/mlx4: Delete an error message for a fai... SF Markus Elfring
- [PATCH 16/29] IB/mlx4: Improve another size determinatio... SF Markus Elfring
- [PATCH 21/29] IB/mlx4: Delete unnecessary braces in mlx4... SF Markus Elfring
- Re: [PATCH 21/29] IB/mlx4: Delete unnecessary brace... Majd Dibbiny
- [PATCH 22/29] IB/mlx4: Use kmalloc_array() in alloc_prox... SF Markus Elfring
- [PATCH 23/29] IB/mlx4: Improve size determinations in cr... SF Markus Elfring
- [PATCH 24/29] IB/mlx4: Delete unwanted spaces behind usa... SF Markus Elfring
- [PATCH 27/29] IB/mlx5: Use kmalloc_array() in create_ker... SF Markus Elfring
- [PATCH 28/29] IB/mlx5: Less function calls in create_ker... SF Markus Elfring
- [PATCH 29/29] IB/mlx5: Use kmalloc_array() in create_srq... SF Markus Elfring
- [PATCH 26/29] IB/mlx4: Enclose 14 expressions for the si... SF Markus Elfring
- [PATCH 08/29] IB/mlx4: Delete an unnecessary check befor... SF Markus Elfring

