From patchwork Tue Dec 6 01:18:27 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 9461835 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id EAF5760236 for ; Tue, 6 Dec 2016 01:18:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D4AF428306 for ; Tue, 6 Dec 2016 01:18:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C6D492831B; Tue, 6 Dec 2016 01:18:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1F1B228306 for ; Tue, 6 Dec 2016 01:18:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752458AbcLFBSh (ORCPT ); Mon, 5 Dec 2016 20:18:37 -0500 Received: from mail-by2nam01on0048.outbound.protection.outlook.com ([104.47.34.48]:26057 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752111AbcLFBSf (ORCPT ); Mon, 5 Dec 2016 20:18:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sandiskcorp.onmicrosoft.com; s=selector1-sandisk-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=J2GHQo8zLOxAbOEUxbZrAeg2ELDowY3Rbl+LGIv7NaM=; b=EonJBCcPskul2Ty/5YyMxLZnNM4m1Ylh5bpYhOFiPJQKwjE0rIaPUCO2wbT2inb/IZHeTccPbiFZMgUseQSwzxaBiyzuM6w+7UZ7hfhh6TRYonDfnUB7Ewgv6gKcNG09PrJ27P1mI4VD0hItsUSHf6y+RiLe/S284r9mpMxaA68= Received: from BLUPR0201CA0004.namprd02.prod.outlook.com (10.163.116.14) by CY4PR02MB2216.namprd02.prod.outlook.com (10.169.180.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.747.13; Tue, 6 Dec 2016 01:18:33 +0000 Received: from BL2FFO11FD023.protection.gbl (2a01:111:f400:7c09::198) by BLUPR0201CA0004.outlook.office365.com (2a01:111:e400:52e7::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.761.9 via Frontend Transport; Tue, 6 Dec 2016 01:18:33 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.21) smtp.mailfrom=sandisk.com; mellanox.com; dkim=none (message not signed) header.d=none;mellanox.com; dmarc=bestguesspass action=none header.from=sandisk.com; mellanox.com; dkim=none (message not signed) header.d=none; Received-SPF: Pass (protection.outlook.com: domain of sandisk.com designates 63.163.107.21 as permitted sender) receiver=protection.outlook.com; client-ip=63.163.107.21; helo=milsmgep15.sandisk.com; Received: from milsmgep15.sandisk.com (63.163.107.21) by BL2FFO11FD023.mail.protection.outlook.com (10.173.161.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.734.4 via Frontend Transport; Tue, 6 Dec 2016 01:18:32 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:; UpperCasedChecksum:; SizeAsReceived:2884; Count:19 Received: from MILHUBIP03.sdcorp.global.sandisk.com (Unknown_Domain [10.201.67.162]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by (Symantec Messaging Gateway) with SMTP id B8.26.02899.9AF06485; Mon, 5 Dec 2016 17:08:57 -0800 (PST) Received: from milsmgip12.sandisk.com (10.177.9.6) by MILHUBIP03.sdcorp.global.sandisk.com (10.177.9.96) with Microsoft SMTP Server id 14.3.319.2; Mon, 5 Dec 2016 17:18:31 -0800 X-AuditID: 0ac94369-5f3ff70000000b53-83-58460fa9765d Received: from exp-402881.sandisk.com ( [10.177.9.6]) by (Symantec Messaging Gateway) with SMTP id D9.B0.03661.3E116485; Mon, 5 Dec 2016 17:18:30 -0800 (PST) Subject: [PATCH 2/5] mlx5: Remove a set-but-not-used variable To: Doug Ledford References: <9ff07804-492c-c67a-e729-b31e0f863027@sandisk.com> CC: Eli Cohen , "linux-rdma@vger.kernel.org" From: Bart Van Assche Message-ID: Date: Mon, 5 Dec 2016 17:18:27 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0 MIME-Version: 1.0 In-Reply-To: <9ff07804-492c-c67a-e729-b31e0f863027@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrHLMWRmVeSWpSXmKPExsXCddJ5ke5KfrcIg7vflC1env/AavHtYITF s0O9LA7MHs+mH2byeL/vKpvH501yAcxRXDYpqTmZZalF+nYJXBk797WxFDzirDjzTLWBsYGj i5GDQ0LARGLBMZEuRi4OIYGlTBLXNncxQzhbGSW+TfzI1MXICVZ0/cNZRhBbSGAxo8TZO2C2 sICtxI0d/1hAbBEBNYlNrxaxQ9TYSbxesBusl1kgVuL852Ywm03ASOLb+5lg9bxANQt232MG sVkEVCSudC4Hi4sKREj0T3kEVSMocXLmEzCbU8Be4uiMO0wgRzMLaEqs36UPMV5eYvvbOcwQ Z05ilVj6VB7iBHWJk0vmM01gFJ6FZNIshO5ZSLoXMDKvYhTLzcwpzk1PLTA01StOzEvJLM7W S87P3cQICfXMHYx3n3gfYhTgYFTi4f3Q4BohxJpYVlyZe4hRgoNZSYT3EY9bhBBvSmJlVWpR fnxRaU5q8SFGaQ4WJXFet3tfwoQE0hNLUrNTUwtSi2CyTBycUg2MtZf9HzrufFhwuFmAq7Vz ZdWHTfX2AkeXSQoFx9Qy28cX/f9+opLlIfM+y1OXCrQWWmn6ZG6+dcKi0upA362522f+qP/7 VOJk271dc2JSLZYrK778s7I3MOXP8aby4J9FujaLryszhJkkOH3T3bH85LyLcnkX/9rpuF4R 9bq3Sl/yb7bARuFdSizFGYmGWsxFxYkAhy3oCnECAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrBJMWRmVeSWpSXmKPExsXCtZGTTfeZoFuEwbLNZhYvz39gtfh2MMLi 2aFeFgdmj2fTDzN5vN93lc3j8ya5AOYoLpuU1JzMstQifbsEroyd+9pYCh5xVpx5ptrA2MDR xcjJISFgInH9w1nGLkYuDiGBhYwSBxrWMoIkhAVsJW7s+McCYosIqElserWIHcQWErCTeL1g NxOIzSwQK3F6STsriM0mYCTx7f1MsHpeoJoFu+8xg9gsAioSVzqXg8VFBSIk+qc8gqoRlDg5 8wmYzSlgL3F0xh2omeoSf+ZdYoaw5SW2v53DPIGRbxaSlllIymYhKVvAyLyKUSw3M6c4Nz2z wNBIrzgxLyWzOFsvOT93EyMk7KJ2MF6faH6IkYmDU6qBMZGzc+Plh8/Wbb228cC02ji7F9du LHf4sV7SbntFcr+5n4av9Oz7n/Wa167mnV3hpmorOy/kXNL2zZXihpPmG1T7+Dw7srP71T3B b7d2KEy8niuzSNxfiGPNxVt6QR+U+7nZDnRt8JyS4HhhvutdS2+JSS8f+DCYBtSUcnsIZKYX e4d+7lwxSYmlOCPRUIu5qDgRAI0V48TrAQAA X-IncomingHeaderCount: 19 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:63.163.107.21; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(438002)(189002)(199003)(6666003)(33646002)(2950100002)(47776003)(2906002)(65806001)(189998001)(83506001)(4326007)(68736007)(54356999)(8936002)(4001350100001)(76176999)(7846002)(6916009)(65826007)(39850400001)(5660300001)(356003)(230783001)(230700001)(31686004)(64126003)(53416004)(38730400001)(50986999)(39450400002)(81166006)(92566002)(8676002)(69596002)(106466001)(36756003)(23676002)(81156014)(39410400001)(110136003)(97736004)(65956001)(86362001)(2270400002)(305945005)(39840400001)(31696002)(626004)(39860400001)(50466002)(77096006); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR02MB2216; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD023; 1:JineWR36RiQB5JVhTI5wUEs5LlZ6Gf6h5S5tEzqkTUUm3V9VCIoRwPApv9aE0LGcxUiv2N2fczkUY6OWpcb5p2pn1AGeztvQtwX80pyIpkpXY+9X71mpKn/sYBe04ItN4HtDlKUvNSfd/GAzRsz6Uj5vNSNMfWCXK5R7Ef/nb6dkHidHKlNGQpz2Yt2se6IjqFZAJP6s8dsouLQSzMe9Lyed1uYL4nkw1Y9u3zpvopeK56e1utVEQKsjqCBWFoY2TI+W3CBw0W596n4NrOB9zZSGBUdjFYXvsKV0HcsHmV4LrpNUPTHW0CPOYVFsqS+tCWBUGA8cJG9XT8lC2dpjNMM41XdC0eEGhlA+HDyd3ZP1u5tsXwOUReGjFAlnCjvorpHfIQEc+YtvPYL0bRj/JmcnpCgfBJwctqUsDsIIVH0C44a8XRUsxhs0WjkGZr25AnAk8jFz6tYZFuWqscBbiZkTVgWhduw9XDJHeCAIbUjgUHKYqbn5X5Ocn6fim7T+nvcyvwXG7Yqwwe+8mdN9oDtA7z2xhQrkJtWfGaskf+Q= X-MS-Office365-Filtering-Correlation-Id: 6a3cdfc6-ca88-476f-dc50-08d41d75cba8 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501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/u/LhZz5ULnFJ1p X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(13018025)(8121501046)(13016025)(10201501046)(3002001)(6055026)(6041248)(20161123560025)(20161123564025)(20161123555025)(20161123562025)(6072148); SRVR:CY4PR02MB2216; BCL:0; PCL:0; RULEID:; SRVR:CY4PR02MB2216; X-Microsoft-Exchange-Diagnostics: 1; CY4PR02MB2216; 4:POJosYZqXNWyrzB2XydHwI8zaGdpD8L+rUMsJHIQ4a138N3rW5ovm78KznG32p/5L/nKYkgaK2Mjm5sL/StPVNodH2woj9pSvnw7XwmHT4VMS1BBhEAokPc7gDQRYlt3Y7XEwcoJe+/VeTqJsi3pgXWcdx9lShWmgt54FoPFdlJXNAKzNp321f3IHR8g5AKR0NzFNT/O5jH7MlW7kL4zsxZNLl4Xo9Gi+q3E+z+6+gS/zms7NzzDd28hUnV8rOOncXiCE12OmPBuafjrOJEzw63Sap32g8UgR5/OrH8mMQ0E77ioxngcB6pC2qtng1pxaaKNJVRmWax4PvyXLKGh+v/vuZxnEXQVduw/rH2nBPjc2E8DI+dSVA/UVP/Pq7Yyj0ZONHJRmc37qeGW+JJx5Xjw7XxfarTN+GmzEw43lFrgkc7xUpHe30P6ifJO/LDW96N5waL3hvH2r71kOgqQJ61naNY1sQOmBmvfYCQakwDe3jCYQJ/7CBMcjY2KHdKI/FuAoXrsILMS6sn+ZKacsbUAMoEkilv+H51RHX5CzSN17Qc1wiDs866xkcXHF1BBSC42xzmQEoAFUsnSZTHlJGWcDE3fxBA8xUyhbrfnMacffj5s2vYP/aUJzugrXJFrOTzzsOZm11yTta9rdxGYPI7Hs1/N5YP1jvX1bM17n5U= X-Forefront-PRVS: 01480965DA X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTRQUjAyTUIyMjE2OzIzOkFwdUlmYVh6YWZ4THllOHR6c2RMM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Zqsy6R+pfvM4iCAK4LutSMKL1vktKem3O6cYv+kmJRp0qjn93c0LJHgEFs+QHIvXYFBipK9kXsqhc45uVG4VEa6bts4ioEgCaCvueDfXDA7xtR7najBHQRnI/V/JZKwc5UVhywR1ilk1qf58HFtDvERV5gRte5t3KQdzToBIDJegvZCLsVPDEnm+mjavmd1JinY77KPiAPbnemLMzuctOcBjmO4FHeSQAglSYwaEGdyVoWrDw+PRrz0n/ew8fV3IQ7TYUeyzqw==; 20:lUw9hSH7YZj5yiHU5qk2bzDGFXbZuOBbmo3X/5LdzjnzqqIRm/PX2hW/No0JW09oyUHKBWxVn1/GaffCeCvU5ehYLKCCZBusktpjisEWxisSmC7gEoBztaprD/DFveM9YrSoRnRJwkp8HfM7rzEKW9+lolYSiX66BqdW7YgVDBFx2iBTFcNhcm45v68ZXy2vvwZfpjG3BnZj+Xa8Yrxdm5iL+xHbSIYytyo5omXBe5z/phZC/vKKOLWqzwc/zOm6 X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Dec 2016 01:18:32.7714 (UTC) X-MS-Exchange-CrossTenant-Id: fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d; Ip=[63.163.107.21]; Helo=[milsmgep15.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR02MB2216 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This has been detected by building the mlx5 driver with W=1. Signed-off-by: Bart Van Assche Cc: Eli Cohen Acked-by: Leon Romanovsky --- drivers/infiniband/hw/mlx5/qp.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/infiniband/hw/mlx5/qp.c b/drivers/infiniband/hw/mlx5/qp.c index d1e921816bfe..b2c6c13d44ac 100644 --- a/drivers/infiniband/hw/mlx5/qp.c +++ b/drivers/infiniband/hw/mlx5/qp.c @@ -2577,7 +2577,6 @@ static int __mlx5_ib_modify_qp(struct ib_qp *ibqp, struct mlx5_ib_port *mibport = NULL; enum mlx5_qp_state mlx5_cur, mlx5_new; enum mlx5_qp_optpar optpar; - int sqd_event; int mlx5_st; int err; u16 op; @@ -2724,12 +2723,6 @@ static int __mlx5_ib_modify_qp(struct ib_qp *ibqp, if (qp->rq.wqe_cnt && cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) context->db_rec_addr = cpu_to_be64(qp->db.dma); - if (cur_state == IB_QPS_RTS && new_state == IB_QPS_SQD && - attr_mask & IB_QP_EN_SQD_ASYNC_NOTIFY && attr->en_sqd_async_notify) - sqd_event = 1; - else - sqd_event = 0; - if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) { u8 port_num = (attr_mask & IB_QP_PORT ? attr->port_num : qp->port) - 1;