aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/infiniband/hw/ipath/ipath_qp.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_qp.c b/drivers/infiniband/hw/ipath/ipath_qp.c
index e1d31bccf3eb..47271be65b0f 100644
--- a/drivers/infiniband/hw/ipath/ipath_qp.c
+++ b/drivers/infiniband/hw/ipath/ipath_qp.c
@@ -511,9 +511,6 @@ int ipath_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
511 if (attr_mask & IB_QP_QKEY) 511 if (attr_mask & IB_QP_QKEY)
512 qp->qkey = attr->qkey; 512 qp->qkey = attr->qkey;
513 513
514 if (attr_mask & IB_QP_PKEY_INDEX)
515 qp->s_pkey_index = attr->pkey_index;
516
517 qp->state = new_state; 514 qp->state = new_state;
518 spin_unlock(&qp->s_lock); 515 spin_unlock(&qp->s_lock);
519 spin_unlock_irqrestore(&qp->r_rq.lock, flags); 516 spin_unlock_irqrestore(&qp->r_rq.lock, flags);