diff options
author | Bryan O'Sullivan <bos@pathscale.com> | 2006-07-01 13:35:54 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-01 18:55:59 +0200 |
commit | 6665ddee85bfc336d691ea5132a2c20a1d0e8053 (patch) | |
tree | d45fcdf5a51652f9007ed06497c40aba5d4e8c5b /drivers/infiniband/hw | |
parent | [PATCH] IB/ipath: update some comments and fix typos (diff) | |
download | linux-6665ddee85bfc336d691ea5132a2c20a1d0e8053.tar.xz linux-6665ddee85bfc336d691ea5132a2c20a1d0e8053.zip |
[PATCH] IB/ipath: remove some duplicate code
Signed-off-by: Robert Walsh <robert.walsh@qlogic.com>
Signed-off-by: Bryan O'Sullivan <bryan.osullivan@qlogic.com>
Cc: "Michael S. Tsirkin" <mst@mellanox.co.il>
Cc: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/infiniband/hw')
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_qp.c | 3 |
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, 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); |