From patchwork Tue Jan 10 19:15:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 9508401 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 C719F6075C for ; Tue, 10 Jan 2017 19:16:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BB08C28553 for ; Tue, 10 Jan 2017 19:16:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AF85D285A5; Tue, 10 Jan 2017 19:16: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 0653E28553 for ; Tue, 10 Jan 2017 19:16:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S940330AbdAJTQU (ORCPT ); Tue, 10 Jan 2017 14:16:20 -0500 Received: from mail-bl2nam02on0061.outbound.protection.outlook.com ([104.47.38.61]:50432 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S940332AbdAJTQA (ORCPT ); Tue, 10 Jan 2017 14:16:00 -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=TPUG8I9bYUBPrUw4fISKMokUJAAAOaMAT3MthJsr8UGNh0i+vYYAQ+Duff/P7RYkzZ6P4ytjh+zTecYHQ2lb79uPUhoXspaFW3vNyQ/SuOXhFtlFYD4Cqw9plRQfcCfF/gQ4gF+Ed6gFWw39ng2Zer4oFciDEgJMyfjhIKK/lxM= Received: from BY2PR02CA0049.namprd02.prod.outlook.com (10.141.216.39) by CY1PR02MB1416.namprd02.prod.outlook.com (10.161.171.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.829.7; Tue, 10 Jan 2017 19:15:58 +0000 Received: from BL2FFO11OLC014.protection.gbl (2a01:111:f400:7c09::138) by BY2PR02CA0049.outlook.office365.com (2a01:111:e400:2c40::39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.829.7 via Frontend Transport; Tue, 10 Jan 2017 19:15:57 +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 BL2FFO11OLC014.mail.protection.outlook.com (10.173.160.144) 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:15:56 +0000 Received: from MILHUBIP04.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 EE.A9.65426.74035785; Tue, 10 Jan 2017 11:04:39 -0800 (PST) Received: from milsmgip11.sandisk.com (10.177.8.100) by MILHUBIP04.sdcorp.global.sandisk.com (10.177.9.97) with Microsoft SMTP Server id 14.3.319.2; Tue, 10 Jan 2017 11:15:54 -0800 X-AuditID: 0ac94369-7f3ff7000001ff92-34-58753047efdb Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.9.6]) by (Symantec Messaging Gateway) with SMTP id BC.48.16817.AE235785; Tue, 10 Jan 2017 11:15:54 -0800 (PST) From: Bart Van Assche To: Doug Ledford CC: , Andrew Boyer , "Moni Shoua" Subject: [PATCH v2 04/15] IB/rxe: Remove an unused variable and an unused argument Date: Tue, 10 Jan 2017 11:15:43 -0800 Message-ID: <20170110191554.17359-5-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170110191554.17359-1-bart.vanassche@sandisk.com> References: <20170110191554.17359-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrCLMWRmVeSWpSXmKPExsXCddJ5ka67QWmEwZSV6hbX2vexWrw8/4HV 4tmhXhaLDe/XsDuweEyaOYPZ49n0w0we7/ddZfP4vEkugCWKyyYlNSezLLVI3y6BK+P7kl9M BQe4K26/fsTcwLiFs4uRk0NCwETic9cGxi5GLg4hgaVMEstPXWGDcHYwShy++56pi5EDrOri Ni6I+EZGibdvlrGDdLMJGEl8ez+TBcQWEVCT2PRqEVicWSBT4tbcf8wgtrBAkMSup7vBbBYB VYnv61cyg8zkFbCX+Hk+AOIIeYldbRdZQWxOAQeJDwvug60VAiqZssoYZK2EwDcWiVl/LjKB 1PAKCEqcnPmEBWKVhMTBFy/AxgsJqEucXDKfaQKj0CwkZbOQlC1gZFrFKJabmVOcm55aYGiq V5yYl5JZnK2XnJ+7iRES1pk7GO8+8T7EKMDBqMTD++BFSYQQa2JZcWXuIUYJDmYlEd5UvdII Id6UxMqq1KL8+KLSnNTiQ4zSHCxK4rxu976ECQmkJ5akZqemFqQWwWSZODilGhhtzN6G8pkt uii82vmqrcjVZYY3tTZzRWZuC2z5uiStt/HFPrZrc+L2nZgSm1SX8NlEK6rwXYXvV8/p6kfc 2bl9e+U2Se2REsnIX93MVFzSqBLj7q6e95x7/ZmZnE5zb/hwrtffOOWmBt9J7a8PZ1+WDjOd dW2jrxGrQ9yzxFlFrz6Khm+3+6PEUpyRaKjFXFScCADIjcSGZwIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprBJMWRmVeSWpSXmKPExsXCtZGTTfeVUWmEwe9zihbX2vexWrw8/4HV 4tmhXhaLDe/XsDuweEyaOYPZ49n0w0we7/ddZfP4vEkugCWKyyYlNSezLLVI3y6BK+P7kl9M BQe4K26/fsTcwLiFs4uRg0NCwETi4jauLkZODiGB9YwSu5/lg9hsAkYS397PZAGxRQTUJDa9 WsQOUs4skClxdpUcSFhYIEhi19PdzCA2i4CqxPf1K8FsXgF7iZYL79lBbAkBeYldbRdZQWxO AQeJDwvuM4GMEQKqmbLKeAIj9wJGhlWMYrmZOcW56ZkFhoZ6xYl5KZnF2XrJ+bmbGCF+j9zB +HSi+SFGJg5OqQbGOxe/SWf18xwxkL/aGm/zb6Klv34P68oAo4cvDxXfsd+nazrJWeevx5VJ j5Ob3q9ekHbhQVr4tiir6j3B81YcjF7NsOPrG97ZF12K77LkSFS+kZ3s1GzuW2vVK7tm95Tb 5rX5hzkZ1j/t9/gsxHPwQ6lXy56TbtdXf75WWiH1YNJW7ob3PtX5SizFGYmGWsxFxYkAlDdw MKsBAAA= MIME-Version: 1.0 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)(39840400002)(39860400002)(39850400002)(39450400003)(39410400002)(2980300002)(438002)(199003)(189002)(33646002)(97736004)(110136003)(36756003)(69596002)(6666003)(5660300001)(626004)(86362001)(92566002)(68736007)(106466001)(6916009)(47776003)(38730400001)(2950100002)(305945005)(356003)(81166006)(50466002)(8676002)(54906002)(81156014)(8666007)(48376002)(77096006)(4326007)(5003940100001)(2270400002)(2906002)(50226002)(1076002)(76176999)(8936002)(189998001)(50986999); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR02MB1416; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11OLC014; 1:HzBhMk/WVbaumD3fPHoAMKblbQLGmtfXdDizN3E5/EBVskzOIj7OHX7ifcgpiFBge4dHtVdgMpUsE6nUD1TV5MtSRzADishs0TBvX6Fr7iXu9zN+URz3XIbNgoXPY2PxFZENdjW42Ftr5topuCCPh4+3oAjF+pW4ccc5I3mb8ZWnojuCMbNFdylUsY4pfkj3NJ6fuZ6G3yiyWGOn/82fSTv5uZtANVr7hnqS6f49TBiNEMSKSl+41RCXlD4BVEjWMizeOSz1ylvbZjniETxLNZbT1DDGyLEqyAZ+xMuCK1VfnPDrWeTco9AEOJSjFuHzy1nRDWlJtcZIcRjxWa7W5sueVzBEHyuUI27PA6p2Za9eoiziMECcaE75QO9YvUiIuFaN/AzzsydiekkoLT6ha/OGd7vhK75XTc2/gHjEd2wS2+Cy8N0NTE5ClvI4h+nZXtExd+cWteDYcMlnRlUB/aXESUMj5ddMFQb5QZdjFoB8eNv+qxAous9D/rX9IoYnY8Jyx08nlKiWsPf/QOBLqQ== X-MS-Office365-Filtering-Correlation-Id: c2a3c501-d1a4-4c4c-f477-08d4398d1adb X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:CY1PR02MB1416; X-Microsoft-Exchange-Diagnostics: 1; CY1PR02MB1416; 3:rfs+GdOfmcomwGmQlSMX2wmrPexGzt/aNmdjQCcxGAX56DjHjLzR9CQnc3Wi9Puzw9jR8iUNgVa3iIsQG//gLUeNTBEwnpbU9ptiU72fXd4x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z4qzu81NWkdrKjteWUbOVHCbN3an22e9i4ikEZ0xFF/tFf+uD0T3oI6dKcJ0NEaEMi0tjRS2B+yuQq3WT7/kaoHFeeJn X-Microsoft-Exchange-Diagnostics: 1; CY1PR02MB1416; 31:V4Qf84xf/JL01yCKVtnFIrXI/dTmktDJKNzTPK8BS8iADal0TZ+Qt7kBLphS2H+GLLNSjg/hICLJgWkCQU5U7iePLYAZH2i0WtzfKQT3JgG9Ov1FjZGX+L2kfe2E9PdexR7R9p+2i5nsd+nTMAtGzrEpAJ4a8icwnsv7iroGaAkRbSQe0/hYyecPm75NnLdzs0e4f7LKt0UDARVVUgTCbN9wOFnNth0noKvOhFKEMAxWwBcL6S8cin7HD97uhKyPeCEWsy/2zv37mU66lr6vAANwuVzkUxRp+RnMy8I7+AQ=; 20:FQCa6J3eUI7IKWKi2zFJdcCdg6O4vk/iSRNFR6WWaLGFIlht4k/PYpowGQrTAD8oSL/HlbRtYhDr6qT/TbcGjnwE60t6LWA/w8n5M5UQfmRGdQVBa6/W0beZehlJ2WxzU5iT1yc1ZFYyBgOhIY3sQp06GH4XkB6rvN7AKskb6yF+TMosLc+3oGHOPZ64tQVnXJj3jWhQbqpsI5Yi+cVsLCV0GiasZzJCXf5uK/0VJuSRgHiLIL07wyb0xJsSi8P5v3XM9EHX86WPWOyP4HE1nawh6gQZdO0wBpYfGvGUPt3NVQhiznvwapC6dz1NqqjfqUo1I7vYl7yc0ViErfOqXvzSBsLnvbzIDZj8ufOVUyDo/qRr9xdaFYwEGpwJgpLe+R6xkNzGFC/kxhpocd1xEg1r/yJN1rATPlv15JJYT+pNOtOMclAC4PqLqHZ3dD5oIuB8qJD6p1SvGat0A4vPs/KYcQsDqq6ounLUpFxhAxpqkcl0mn5wt8PKA/V6ALx/ X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(56004941905204)(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(13016025)(13018025)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6041248)(20161123562025)(20161123555025)(20161123564025)(20161123560025)(6072148); SRVR:CY1PR02MB1416; BCL:0; PCL:0; RULEID:; SRVR:CY1PR02MB1416; X-Microsoft-Exchange-Diagnostics: 1; CY1PR02MB1416; 4:V9FJpkvaUC98X0mOedDQnyd5ghz4tl5BicI4yqaqVHuD45Ze1k8qszk6Ecc+ki9m5SjAPKmIme/aCs1gXCmL3Xr2nHzUAqeOuw+1MsbUHH6nDBhYS4p/MupI9fnPmjczCGzO1HtmZEcl7NNH0W4xkVLIr6UTrN/oOtPb9pYi6ysZ48MWpFaTirOA262DYVtB7MPSwZfCCRsse5+tzysIPd3r6XHZeT0x/DlhuNbLy+YW/yJybewxCrIQuSJW+u2LAx6ER3y1UezNqc8CQOgUwhb7R/cwMO7ePRwwiZsaUgCnK+6KreQ4TMu4HN4vuj339GMl4AJctFITHdLmPuKt1WnDZq1BfvIXuVOI7JqQChn6VPbuMIVEgpJ+wmEdHDIe6y+fXJGuHWb1/VSc5SgmU+/kvI17l/x1EixPqAhS2KtcgaXcX9cC/OoWkuDtXs8rvB04YfQCZ18EShYuU+eIOM61sY9KxELCti/KuyFoUST4v3PZWqiJfafORd47r7WJA39VKjOLDXYBfPPLerDF90GRAkzcWOk4aos6pwdhYNL1wLscyw4U0+x/IMc6WLeAhlSeDIgZZg08mDYINa9zByVC7+s44aZrpU/GEFKUsx8XWackt7X0E9TAYg7idpAVCqYgjXKOZlk59UI5w0vWaip9zBD+b8MB7ca9/ChqqUqW+1hx/PLv5kJQHZB8yhSa0witaF974oY9FC2CVaEhGw== X-Forefront-PRVS: 01834E39B7 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR02MB1416; 23:5/3aJVfhfV24qWW80wFh9sU3hpGC3Y2mrx/uqZqJC?= =?us-ascii?Q?bnnBJOLojcRuDM3+mrPL3ydeHgLyuTPLRvfo7ROa8ho5iChKpsFBedSBL2Mb?= =?us-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fj/fBp?= =?us-ascii?Q?UV8MXbCxKE2HnGUo1AkzRSBsT1NRhpz/+pLwxFPHzKGJAIcbTe2GtJdFirwT?= =?us-ascii?Q?BiZWUXXIZJxtotUGBevc80BrQqDK4XQOlyi4V2uTc8qpY9EJV7EUMz+3oF8o?= =?us-ascii?Q?uFSbPRsleUEfISU89yneDfk/hVdf3X/mMVc59Au2SL93AYokroIOw=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; CY1PR02MB1416; 6:QGj0m7tWzi/M0LViHmYmAS5VzeO28USJBBaM0jGiccQEq1ihdo8BfOrdeANAdhpIXIYBfmBTzE74rIf3GaxfKig5ez7toMWNGDTI8N1MnnboAX3oWsL6dLENsLngPpeQfEXiTVfxInUDih196OxjKzQm9/SZMkl/OOq81q/QrhAbUQyuDE0VH4cvWuN71okLjNhjZD6IYpHJh3A19+X/KEfMB4/qYZnn+DqcdUvdlF9PWRZFbrED9rdGZiw58M6RSlPUCuuTz2Qj94Kb978dcn01lrwLh74IWnxupkXwfDstJQzGBROoGUn1NU8FSJvHqIb+TleEp6osf2zBjrUuSh9Jw7QtnkQrOF45p+MRmNwZ0L+WKrteQcJ+ATseM9a94kjd6Dmp1I5AjNI83AVW0wiKT5ohl572atITjdhKx/m89PzK+cWnCWrz0YeXpQ9F5PJqChgRYhIwYDzgURecFQ==; 5:lcXKi34LnP24H+M4LLLPacEEDF/Em2G99viZGY7E9j+9seSis1506CY+2NEv1jPt0nSkYAa5dv3srrB3Wla74BqmoFW8J5Jd8BYHegUOZ2zw7+94sHWx7UijtERRtxQNYFDESH7twHRVQgoF38t7CTvFphiOAnsnqD/wXu1avjA=; 24:NBZXA913iYCNsmmsJgpSzOpBjBGe3xWHYoAyTEy9xstrUrJwvVSugTXPDx8nSO8jV6QbXAmgiaDoJv59oBh5lG/Sa+lrsKodq8eLMFpQ8Fs= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR02MB1416; 7:GXtbomM6B04y+g2ukw1f7XHN6+x1V3GqwhaLqh4hvZaVnRB79Q9dK6SuGFngfwIsDt1ekFpGhC1fOHYs12jcrarr2QCupOOu0RIOjTFzTx4wSmIMWTNhBRLzyYott2EjaOrlO49Lt5ZCbRmskhjclzKxIN0y6o9ugmF7b3bsonb7nvYumOY5z9YmcGQREeNfwnnax8AAUlVO116OgGeQaNYVO9EEMhkSc5LZokxNgXGrdqk0pSu+r/apXjZATcbQd3RwPtUqv2VH0z+XM/wa/h0rnkv+gxXLBm4u0pCrlat4EULIv7SPf32zK+tzHyL++RROAPxsaTQoLF+BizZM/vy1nAn2a4wcjS8INAV3dvx6lS2KAGsiDkjqHlCepfUA5ynOjaxAZ0MiNERSfz7L+B3DMm0OtclxKOuEO7Lg3oFy8CLYXDVEDHYnfQjXbkoNw6yzSwA4Z2H6d9y0GMARqA== X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jan 2017 19:15:56.5197 (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: CY1PR02MB1416 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 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 Cc: Andrew Boyer Cc: Moni Shoua --- drivers/infiniband/sw/rxe/rxe_req.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) 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) {