Message ID | 72f1d197-be64-fa7d-bc94-44ce590b78a6@users.sourceforge.net (mailing list archive) |
---|---|
State | Deferred |
Headers | show |
diff --git a/drivers/infiniband/hw/mlx4/main.c b/drivers/infiniband/hw/mlx4/main.c index 67368dea9b6a..7dd5468cd4b8 100644 --- a/drivers/infiniband/hw/mlx4/main.c +++ b/drivers/infiniband/hw/mlx4/main.c @@ -2901,9 +2901,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; - } } }