From patchwork Sun Oct 11 15:34:16 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eli Cohen X-Patchwork-Id: 53006 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n9BFZj0r002552 for ; Sun, 11 Oct 2009 15:35:45 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752269AbZJKPeb (ORCPT ); Sun, 11 Oct 2009 11:34:31 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753964AbZJKPeb (ORCPT ); Sun, 11 Oct 2009 11:34:31 -0400 Received: from mail.mellanox.co.il ([194.90.237.43]:36194 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752269AbZJKPea (ORCPT ); Sun, 11 Oct 2009 11:34:30 -0400 Received: from Internal Mail-Server by MTLPINE1 (envelope-from eli@mellanox.co.il) with SMTP; 11 Oct 2009 17:37:06 +0200 Received: from localhost ([10.4.1.30]) by mtlexch01.mtl.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 11 Oct 2009 17:33:42 +0200 Date: Sun, 11 Oct 2009 17:34:16 +0200 From: Eli Cohen To: Roland Dreier Cc: Linux RDMA list Subject: [PATCH] mlx4: remove unneeded code Message-ID: <20091011153416.GA29606@mtls03> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-OriginalArrivalTime: 11 Oct 2009 15:33:42.0414 (UTC) FILETIME=[36847AE0:01CA4A88] Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org diff --git a/drivers/infiniband/hw/mlx4/qp.c b/drivers/infiniband/hw/mlx4/qp.c index cde2bdc..d4ffff9 100644 --- a/drivers/infiniband/hw/mlx4/qp.c +++ b/drivers/infiniband/hw/mlx4/qp.c @@ -899,7 +899,6 @@ static int __mlx4_ib_modify_qp(struct ib_qp *ibqp, context->flags = cpu_to_be32((to_mlx4_state(new_state) << 28) | (to_mlx4_st(ibqp->qp_type) << 16)); - context->flags |= cpu_to_be32(1 << 8); /* DE? */ if (!(attr_mask & IB_QP_PATH_MIG_STATE)) context->flags |= cpu_to_be32(MLX4_QP_PM_MIGRATED << 11);