Commit 6665ddee authored by Bryan O'Sullivan's avatar Bryan O'Sullivan Committed by Linus Torvalds
Browse files

[PATCH] IB/ipath: remove some duplicate code

Signed-off-by: default avatarRobert Walsh <>
Signed-off-by: default avatarBryan O'Sullivan <>
Cc: "Michael S. Tsirkin" <>
Cc: Roland Dreier <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 685f97e8
......@@ -511,9 +511,6 @@ int ipath_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
if (attr_mask & IB_QP_QKEY)
qp->qkey = attr->qkey;
if (attr_mask & IB_QP_PKEY_INDEX)
qp->s_pkey_index = attr->pkey_index;
qp->state = new_state;
spin_unlock_irqrestore(&qp->r_rq.lock, flags);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment