From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bryan O'Sullivan Subject: [PATCH 8 of 39] IB/ipath - remove some duplicate code Date: Thu, 29 Jun 2006 14:40:59 -0700 Message-ID: <08114201137114764a83.1151617259@eng-12.pathscale.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: openib-general@openib.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Return-path: Received: from mx.pathscale.com ([64.160.42.68]:32911 "EHLO mx.pathscale.com") by vger.kernel.org with ESMTP id S932862AbWF2VoJ (ORCPT ); Thu, 29 Jun 2006 17:44:09 -0400 In-Reply-To: To: akpm@osdl.org, rdreier@cisco.com, mst@mellanox.co.il Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Signed-off-by: Robert Walsh Signed-off-by: Bryan O'Sullivan diff -r 8f08597cacd2 -r 081142011371 drivers/infiniband/hw/ipath/ipath_qp.c --- a/drivers/infiniband/hw/ipath/ipath_qp.c Thu Jun 29 14:33:25 2006 -0700 +++ b/drivers/infiniband/hw/ipath/ipath_qp.c Thu Jun 29 14:33:25 2006 -0700 @@ -511,9 +511,6 @@ int ipath_modify_qp(struct ib_qp *ibqp, 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(&qp->s_lock); spin_unlock_irqrestore(&qp->r_rq.lock, flags);