diff options
Diffstat (limited to 'drivers/infiniband/hw/mlx5')
-rw-r--r-- | drivers/infiniband/hw/mlx5/qp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/mlx5/qp.c b/drivers/infiniband/hw/mlx5/qp.c index ce14008a5702..2e4c4656e047 100644 --- a/drivers/infiniband/hw/mlx5/qp.c +++ b/drivers/infiniband/hw/mlx5/qp.c | |||
@@ -1550,7 +1550,7 @@ static int __mlx5_ib_modify_qp(struct ib_qp *ibqp, | |||
1550 | mlx5_cur = to_mlx5_state(cur_state); | 1550 | mlx5_cur = to_mlx5_state(cur_state); |
1551 | mlx5_new = to_mlx5_state(new_state); | 1551 | mlx5_new = to_mlx5_state(new_state); |
1552 | mlx5_st = to_mlx5_st(ibqp->qp_type); | 1552 | mlx5_st = to_mlx5_st(ibqp->qp_type); |
1553 | if (mlx5_cur < 0 || mlx5_new < 0 || mlx5_st < 0) | 1553 | if (mlx5_st < 0) |
1554 | goto out; | 1554 | goto out; |
1555 | 1555 | ||
1556 | optpar = ib_mask_to_mlx5_opt(attr_mask); | 1556 | optpar = ib_mask_to_mlx5_opt(attr_mask); |