Message ID | 20170110190822.16953-5-bart.vanassche@sandisk.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show
Return-Path: <linux-rdma-owner@kernel.org> 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 314886075F for <patchwork-linux-rdma@patchwork.kernel.org>; Tue, 10 Jan 2017 19:12:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 246A727F89 for <patchwork-linux-rdma@patchwork.kernel.org>; Tue, 10 Jan 2017 19:12:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 194FB28595; Tue, 10 Jan 2017 19:12:56 +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 750A82859F for <patchwork-linux-rdma@patchwork.kernel.org>; Tue, 10 Jan 2017 19:12:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936230AbdAJTKS (ORCPT <rfc822;patchwork-linux-rdma@patchwork.kernel.org>); Tue, 10 Jan 2017 14:10:18 -0500 Received: from mail-by2nam03on0046.outbound.protection.outlook.com ([104.47.42.46]:28137 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S934584AbdAJTIc (ORCPT <rfc822;linux-rdma@vger.kernel.org>); Tue, 10 Jan 2017 14:08:32 -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=zhQ3NljNg/xWqTPiiCxuHxtWIWN7a1Fg7UOXpVxCsec=; b=l8n8MxWoHf/YZJWalc/5ZdEY2u+nD2DOmYlfsPpMSFSAKkhDRijcjyl2VSVseJu+fu4Xbf1h6RK9f4sIVyLuDbqZaX4IwlUMWDTr8/1EbwkEvvZqBk4dkSDgVMTNmUXEvlirhkXFo3DUEoAB9WFkIfrPqqldzhwWD50yziswrSI= Received: from MWHPR02CA0008.namprd02.prod.outlook.com (10.168.209.146) by BY2PR02MB1411.namprd02.prod.outlook.com (10.162.80.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.817.10; Tue, 10 Jan 2017 19:08:30 +0000 Received: from BL2FFO11FD021.protection.gbl (2a01:111:f400:7c09::145) by MWHPR02CA0008.outlook.office365.com (2603:10b6:300:4b::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.845.12 via Frontend Transport; Tue, 10 Jan 2017 19:08:30 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.21) smtp.mailfrom=sandisk.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=sandisk.com; 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 BL2FFO11FD021.mail.protection.outlook.com (10.173.161.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.803.8 via Frontend Transport; Tue, 10 Jan 2017 19:08:29 +0000 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 17.A9.65426.88E25785; Tue, 10 Jan 2017 10:57:12 -0800 (PST) Received: from milsmgip11.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; Tue, 10 Jan 2017 11:08:24 -0800 X-AuditID: 0ac94369-b62949800001ff92-c8-58752e88b666 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.9.6]) by (Symantec Messaging Gateway) with SMTP id D7.38.16817.82135785; Tue, 10 Jan 2017 11:08:24 -0800 (PST) From: Bart Van Assche <bart.vanassche@sandisk.com> To: Doug Ledford <dledford@redhat.com> CC: <linux-rdma@vger.kernel.org>, Andrew Boyer <andrew.boyer@dell.com>, "Moni Shoua" <monis@mellanox.com> Subject: [PATCH v2 04/15] IB/rxe: Remove an unused variable and an unused argument Date: Tue, 10 Jan 2017 11:08:11 -0800 Message-ID: <20170110190822.16953-5-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170110190822.16953-4-bart.vanassche@sandisk.com> References: <20170110190822.16953-1-bart.vanassche@sandisk.com> <20170110190822.16953-2-bart.vanassche@sandisk.com> <20170110190822.16953-3-bart.vanassche@sandisk.com> <20170110190822.16953-4-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrKLMWRmVeSWpSXmKPExsXCddJ5kW6HXmmEwaM7ZhbX2vexWrw8/4HV 4tmhXhaLDe/XsDuweEyaOYPZ49n0w0we7/ddZfP4vEkugCWKyyYlNSezLLVI3y6BK+P7kl9M BQe4K26/fsTcwLiFs4uRk0NCwETi1Ml7LF2MXBxCAkuZJNbeaGCCcLYxSszZ9ZK9i5EDrOrH v3iQBiGBjYwS618bgdhsAkYS397PZAGxRQTUJDa9WsQOYjMLZErcmvuPGcQWFgiS2PV0N5jN IqAq8flMN5jNK2AvcWn/USaII+QldrVdZAVZxSngIPGpRw/ihIeMEq1tB9hAHAmBXywSr978 ZoVoFpQ4OfMJC8QyCYmDL14wQxynLnFyyXymCYxCs5CUzUJStoCRaRWjWG5mTnFuemqBoale cWJeSmZxtl5yfu4mRkhgZ+5gvPvE+xCjAAejEg/vgxclEUKsiWXFlbmHGCU4mJVEeFOBcSHE m5JYWZValB9fVJqTWnyIUZqDRUmc1+3elzAhgfTEktTs1NSC1CKYLBMHp1QD4+TkpuVec3Xl Svct/lRta3/gw0evahmvFxVelbsmP179XutF+awrt09obpjE+XaiZpD2xf76Z/N2Tb1tannK 5KKvw5Q49Y3RIvq6anysO9IC8r+Y9jU+2DNRu+hjxiEdrbbOXX3NvByb+PZrX9s+vzCw7FdS 2O6NvhvCGTraDvLUlzhOvx02R4mlOCPRUIu5qDgRAJYV8uxoAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprFJMWRmVeSWpSXmKPExsXCtZGTTVfDsDTC4OZjVYtr7ftYLV6e/8Bq 8exQL4vFhvdr2B1YPCbNnMHs8Wz6YSaP9/uusnl83iQXwBLFZZOSmpNZllqkb5fAlfF9yS+m ggPcFbdfP2JuYNzC2cXIwSEhYCLx4198FyMXh5DAekaJx43zGbsYOTnYBIwkvr2fyQJiiwio SWx6tYgdpJ5ZIFPi7Co5kLCwQJDErqe7mUFsFgFVic9nusFsXgF7ie9vJrCD2BIC8hK72i6y grRyCjhIfOrRg1j1kFGite0A2wRG7gWMDKsYxXIzc4pz0zMLDA31ihPzUjKLs/WS83M3MUJ8 H7mD8elE80OMTBycUg2MNT58f/Irrql/fJxsGcfiwz9F90uCmqV0/rSvsexRxtEpwl3SF0K7 Zjn8n5mVKCvQKF+xWJxP2Xty0IvQHFv7bzeqpJik92wteVu4e9GMRfsOHgs/x/Xr8z03lRef /82aIr+yN7dxhW7UR1PF1bZe/Nb3e9NU66QktjyXX/Z1+sRVP6LLWZqVWIozEg21mIuKEwEe qHUdrQEAAA== MIME-Version: 1.0 Content-Type: text/plain 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)(39410400002)(39860400002)(39850400002)(39450400003)(39840400002)(2980300002)(438002)(199003)(189002)(81156014)(36756003)(77096006)(1076002)(189998001)(5660300001)(38730400001)(8666007)(8936002)(50986999)(76176999)(50226002)(626004)(5003940100001)(356003)(69596002)(2906002)(68736007)(106466001)(4326007)(93886004)(47776003)(305945005)(97736004)(48376002)(81166006)(2270400002)(33646002)(86362001)(2950100002)(6666003)(6916009)(8676002)(54906002)(50466002)(92566002)(110136003); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR02MB1411; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD021; 1:MTGxgjC/O3cvEIGs87Nz9XBM69zQw29xIGUseOp8lagrNmKMTAPRiq6mDUNKW/jAZynkKFgj0LWyG4XRpp3VK2VhOj3YST/n0H6pI1Ure6C5WxB5Z03owdUjsWPgsMwTYVxnk6wP6CQ6MiXebqzUVdZKykxShlnlULohdzNNz9ZoFplikj8vwmSWW4w6oIOLYTijD8k4t55HcekNvpWSD73v7zUyMGksdb0d86sXhonCO5zFUEWrFPOtpxiyVCZ2wfvFT7Bsm5IS6nWYOYlMB6UhHBMVN2aBsdDtXUXwX2B91mx9pvigooXuB78phC/AURrpZmU5RW3VkXV1nbnhtpI+J4ckIS3vlD3CB1paWJAFoF3NnxjYMY9RrmqOi2nav6PRIkqFef/ZJq/5ctiPSOgjDVYe9VKcpg1NSRj05Lv+trlV67r/I1v/gLxw40VtjgJKI9VryYgwGS2tVPwvm1bUpTzo5NaYJxjRwLa0h9fPJpTxqlofF+8K4xzGAWkgc7UzFKbaIKB4VIi4Mv4qrA== X-MS-Office365-Filtering-Correlation-Id: be0e250d-15fc-4422-775f-08d4398c1085 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:BY2PR02MB1411; X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB1411; 3:v2ym7lJtPxkyPIchZQ+HkPJTaWx8EFTkDksJjak0PLjmgxdeFFQHC48UdlI6JAMLUWEWve7Y9DMl0ot9OhhUXesjFw+vWSMDMOYmEgnoOzKc+3+iiW5o69sA6kVwVfj/0qzCBO7dXLk0ik+a/sm0HVYWwj+6uw+DCoIvrBgaqOP8K0XAAgrWOxK+7sLMmpHGOPiviC1PAmtxOyWQ09Bo4ArZG+PtOiex30jY4nLw5t7CiMjIPg2cmYKR06iN4zpAPJscFpNAC2G+DSYOz1Bm6eOL341pDRzdWS4h94kUhde1drzbvtLLt4vP8AYCvuaN4lX5RGKw4HZfHbGcI9/iesnTMTP4SEFOCv0WYEym6ybE4KxVQS+eheLD55f+TGqA6ornvErCp5RnZLAXOOBwGw==; 25:27sqFY9qMbAkKAKivV2+yqa2VeaZiFp49CBHHT7+meydY+B9AXIWy3cjKp5JLQ0TMOEOU43WfjdgeMjf1uvN+ot/TlKPSvkefqXfVTrceRrdCgIFoF36u/ptGGvPHPRt7T1K+sreW0hd+SGmr9md8D+HKt1PVhR79ktKLm6TSkUI+tT9PezPs6Y09YGBfQlQX8tQby/Q0RfeJksqzE5NfevE0bsUxV5ikFVO8+vCbhp/A25I4VNerRi16tEsFepmRjpmRtCFE59WvJEHjh7KPCf1HA9yT/wvusVUed9PzV+0io0GhEO9gFSsVwI8I1SPCaCa8MOCWqYF83/sLBpV/SURG+bdANP5jDJPX70W//b+IuLx2WoXRsxUpY425GzyjIgUz5LhouUjNxq8O+UWled3EwzYs50BlkG/81WzygeFXk8rRC4kq/XIrmMYudIJSp7fgBAd6DiCbws+lY4+ZQ== X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB1411; 31:L28I+X6lveTIKFOhjLQXGyt+YkPR+ij0BZZ9ScTsSSQjM2V9i1+qWZzb8Ng+Az2O7kDY1RH8CY9+e7D6kRdKneMlof3YiRgUjU/VdTHFyKGKxbWu/ZRTN2jtnovq90EfCZNXmPLQp70fDPk+v3BMcQxlu/4wEsYxUho17+HnPjApmFywLm70WTtK9iQxDPXppVhFlTIYgKEy7eX/FDBnhWNfrML05IAoc1A00bXwJxeH0ofMnYmgQIcV46Hq9+KoqNcSQDfSkjI3kebIwb7NzA==; 20:7hoQSdkZ1t55gX/cMt/U6dFu6e9h7wk1IZOLz2gmc5twZ4Ks8S2X5lca+Qsg5sy7+/H5OCs4MhoTUcxgpWtHzVNhtvC6gfOQ0of/T9p1e8uoVMLgfoOUFl+X0gPQnFumR/vw33wlFhW7+IgdV4AbijDQ6xtYT2twcgCbqc0O6KdstfbNMMALkue/sNlafuOjjicV25XSUWsHJlXspCTLPJGfQtZFvNkOVM3mACQsnbd8fa08MAeBA2bj7UuTdA2ZowsdAGP8B+fk8w8FEbrqjJvxfwlgyhbigEv0HtVKUUBTzZt8+LxFE+IplzJra2H7+8QrImCcRE1l+DyqZLT+KetHwg7yAkej7Zs1s7BV77Rlhi/R1ZhKnUv7avh8f29phd4b9u4vPXAotgjh6rPxT0SE1QXEFEPuzEzUmI8G+pP56Avo0HdDlSSq34CPyjjKq0AIVSG/71qAEAPAkvrhwyrUr/3ops65pILaCdE3l/QXeQdyvEK/QHo/bA941Omn X-Microsoft-Antispam-PRVS: <BY2PR02MB14118FF2AD48A29F5B32A26881670@BY2PR02MB1411.namprd02.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(56004941905204)(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(13018025)(13016025)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6041248)(20161123560025)(20161123558021)(20161123555025)(20161123562025)(20161123564025)(6072148); SRVR:BY2PR02MB1411; BCL:0; PCL:0; RULEID:; SRVR:BY2PR02MB1411; X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB1411; 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TzGKw7iqn+/xnsSZe3NezuVTto1i/?= =?us-ascii?Q?etjS/tcmHIOX092W4FDnRESw/EWD1RuFmvJFvdjDRennjflWJjZYXp100yU4?= =?us-ascii?Q?HXMya+fkPsx6gZT9mEM9UeyLQdEViEkOkzaGqsIZ4YlmEebJnJARsR1S3yTi?= =?us-ascii?Q?mCxb5HFEavgku71d6FxaO1DUQttkiTIFUVRd1XfINMZbaHb5ENek7ZHGH7Oe?= =?us-ascii?Q?Q3vQFZNqlgzjlRsYPVNM21SWC8vshECgLIIu5rlCwRbMPOfxfNyiAkUZUcvE?= =?us-ascii?Q?745+9xplViyVXt0d8lA2T2ZYSe1PsiRqQLUWiNCVl86Gl426p/vT5SeZ7xPk?= =?us-ascii?Q?0Lficr5gtYkrOxdpW6srN4JfsoBert85Q30ZB/7nM1pPr4HdcB6wbflnsq18?= =?us-ascii?Q?tnWFQBys+Kz2MX4MGcj8mdiiplRtU99iz1u7yVdgdPqA9HOLtv9q+LkeNaww?= =?us-ascii?Q?IxxQ7bBiqH1BYO7AHMRIsybsoNMJuTyPY59VARaL02mBd1sGWxrcwQxyBnSn?= =?us-ascii?Q?2ar5vxbVGlZvZWxj6CoM0EmOszKuAPe/bxGLlumEycRpcsUh4DjeiMrKLQcD?= =?us-ascii?Q?UbsVRQN84xQ7t7IQneXejjUjq+JE2swXXhG9ySKzVLcXmpBGMN9CKbB1X5fa?= =?us-ascii?Q?11PCntFbKgh482OXZsp53WRQno1kiBD5Ojihle4IWcCcQ7RTNdvv4vlJaU5L?= =?us-ascii?Q?FZ7FWebRNuYsPHUosBOZ0zBnI4fbML5e2f2KQW+7tRbNg4l/9zG87GdGmhC9?= =?us-ascii?Q?F9wBdRSNNwbybnaRIgvTq80d80gKHIWkYKSRMAT92UwRPsidL2SsB/bli4dV?= =?us-ascii?Q?DnQHaBFbYChbInb5d8POdnLI/xSgz9NykZMrMtz+3p8SPYKlPPokYqgKUXck?= =?us-ascii?Q?5CzvdxIprauLDCw4a0Dc0W10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h1IpXZLJP1q7DnWmMpSPqu40bNaCBEbZvzYVS61Qbamg54V87aCv+mseQJfY0SVQJQoWc7w+mXgeLvJ7Jdke0mTbLMqy+teKjUr0iwZ+hJwxsl5m/VuU3HTqUL83RF334xgcwNBIArYjB/1NrhzXya/HVYpGnq1mmzZT8HaG5cJqNIJ56S5+oMAAMcimEhzKmXLHuDQjm0mskPP5h58q0HGqAsUB8Su/Mz41dVfudA8+6TdkmNBonLgQPPinyBj9EUcxXJReBW1rGrY0tFu/E4VJGSqQV+WKLGaRVVYC74bLeiOiWxoNfqM2nWgeKwpxc5cZ7YjVj9V2pDqEGqRD4fIsogfYYKlPvjn8CdakJP1jEC3M7Yq9DzQ377fml/mZIvuWfqHuGBJeedtkB6Ubzst9UtEZPHwEuVH1xqWUL3jA== X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jan 2017 19:08:29.6945 (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: BY2PR02MB1411 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: <linux-rdma.vger.kernel.org> X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/infiniband/sw/rxe/rxe_req.c b/drivers/infiniband/sw/rxe/rxe_req.c index 73d4a97603a1..310cd3350578 100644 --- a/drivers/infiniband/sw/rxe/rxe_req.c +++ b/drivers/infiniband/sw/rxe/rxe_req.c @@ -361,19 +361,14 @@ static inline int check_init_depth(struct rxe_qp *qp, struct rxe_send_wqe *wqe) return -EAGAIN; } -static inline int get_mtu(struct rxe_qp *qp, struct rxe_send_wqe *wqe) +static inline int get_mtu(struct rxe_qp *qp) { struct rxe_dev *rxe = to_rdev(qp->ibqp.device); - struct rxe_port *port; - struct rxe_av *av; if ((qp_type(qp) == IB_QPT_RC) || (qp_type(qp) == IB_QPT_UC)) return qp->mtu; - av = &wqe->av; - port = &rxe->port; - - return port->mtu_cap; + return rxe->port.mtu_cap; } static struct sk_buff *init_req_packet(struct rxe_qp *qp, @@ -679,7 +674,7 @@ int rxe_requester(void *arg) goto exit; } - mtu = get_mtu(qp, wqe); + mtu = get_mtu(qp); payload = (mask & RXE_WRITE_OR_SEND) ? wqe->dma.resid : 0; if (payload > mtu) { if (qp_type(qp) == IB_QPT_UD) {
The variable 'av' is not used so remove it. Since that change removes the last user of the 'wqe' argument, remove that argument too. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Cc: Andrew Boyer <andrew.boyer@dell.com> Cc: Moni Shoua <monis@mellanox.com> --- drivers/infiniband/sw/rxe/rxe_req.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-)