From patchwork Fri Jul 8 05:23:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Li Zhijian X-Patchwork-Id: 12910581 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F1AA1C433EF for ; Fri, 8 Jul 2022 05:23:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237071AbiGHFXN (ORCPT ); Fri, 8 Jul 2022 01:23:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237032AbiGHFXM (ORCPT ); Fri, 8 Jul 2022 01:23:12 -0400 Received: from esa5.fujitsucc.c3s2.iphmx.com (esa5.fujitsucc.c3s2.iphmx.com [68.232.159.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE39B796AC for ; Thu, 7 Jul 2022 22:23:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fujitsu.com; i=@fujitsu.com; q=dns/txt; s=fj1; t=1657257791; x=1688793791; h=from:to:cc:subject:date:message-id: content-transfer-encoding:mime-version; bh=dgY8TvELyF+9y9PHvU5LQ5G5XEqXf2+7/GsRL3kGjME=; b=PxsR7Hs0moLBZqJW71ZJVwKS/EcDbmKJKl82cwSnryeeArawoJW4c2Zw a/Ryg95+MbOu93JUCg+mDFZPdvOSjoX6ujXuDyUNuwxwgMhV+AAJQPFiU j4JNa4WK25NWkNm2+Lp18w0dPzOHV/e3hrMbrFk3taJunEugWNwXYjrpU GRNDFDa8XN8MjBkcCVOwnXYyfXX/h3o9zrHWMb/HX6H8yUC6n2jfn0w9k rTh1WJ7hmS0JInfW4paSSyz3zoj6BcbTp/KRNNXWCU0FeHgf1QXlOTlrJ R9ufQKyw/qTt/teZCU+W2IuhAXz0mTGDiq2L3e9rrPqGzKKkh70QKvL2V w==; X-IronPort-AV: E=McAfee;i="6400,9594,10401"; a="60073150" X-IronPort-AV: E=Sophos;i="5.92,254,1650898800"; d="scan'208";a="60073150" Received: from mail-tycjpn01lp2173.outbound.protection.outlook.com (HELO JPN01-TYC-obe.outbound.protection.outlook.com) ([104.47.23.173]) by ob1.fujitsucc.c3s2.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jul 2022 14:23:08 +0900 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YOnR0XqnToSmrslxIJW0u+XrA1ItRMPmVO7uHpCILj9+ARhLJzp1glfrMbX5c69xnYIfd/L6sZofGi5Pvef8TWii95qPuKRpXlo1VZ2+jQsNuW8OmPRYJd8gbJsBd/NQ7a9eEy59QSO1RXIqTQrkXOwBzvEUYbTFUSvppdv9SsX0S2FrZ09ADSKtH914TBYMwFTmTYk8DAcD44I1DdpGEnVQvhvEQ7PIcoZHmXIG+CEKZY8DGxqIoz6K0KlujpK0h6OK6/Fmqg44ZmSXui3OU3v16/KXMeMzOnk2laqhYVtWIaOUfp33BK+J8dvTAHjBCLVr5D9jPeTbk1BiOUFiNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=dgY8TvELyF+9y9PHvU5LQ5G5XEqXf2+7/GsRL3kGjME=; b=ApLgGNs5LpLo9wNMKdCV/jlEFy/4FsOO1ZlOlS84h3AyYT6XUYSBsH6amgufiHvAZQm5ij4Zpmfjw7jWCDUpaQcsTGPv3j7BIoqGTPsU2PQTo6C2xL56+Y5m8p9OsA6/ylogRFb8ZvFUVLfnp9uHfRv6cO7zksFzfqHwBcn8FtyP8E8jdcWu7rUSCGcRZ1wM7C5othKETFdj27Fs74/+tqHv2JNBduZ/pCAffZa5l7FD3oNsJNGIDLNRvktNNAaTJkP5wkSJm0hnSZtvHPjxTfUdixktOlebB6/eI1aJfwIXlPY3TvrEKH9s1idI80yV4reK1BK2PvFMsqAMdGMkBA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=fujitsu.com; dmarc=pass action=none header.from=fujitsu.com; dkim=pass header.d=fujitsu.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fujitsu.onmicrosoft.com; s=selector2-fujitsu-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dgY8TvELyF+9y9PHvU5LQ5G5XEqXf2+7/GsRL3kGjME=; b=JZO16B1VBT092v9ujqVVeRjqaen4F01bHNqT9s0krZCWwKYKTwOgsLCU2QzQTRzcAYNkRMwPNta/BHgpcR4j6WzpbFM7AwZoyGSktikNncEkD3A38A8P7DGOfbqXiyMM3SEJor4Z6SO5gs9+XbKhQxPFH6+FnLk3+k13iSWfBq8= Received: from TYCPR01MB9305.jpnprd01.prod.outlook.com (2603:1096:400:196::10) by OS3PR01MB8476.jpnprd01.prod.outlook.com (2603:1096:604:197::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.15; Fri, 8 Jul 2022 05:23:05 +0000 Received: from TYCPR01MB9305.jpnprd01.prod.outlook.com ([fe80::8d7a:baa8:3b18:cd93]) by TYCPR01MB9305.jpnprd01.prod.outlook.com ([fe80::8d7a:baa8:3b18:cd93%6]) with mapi id 15.20.5395.021; Fri, 8 Jul 2022 05:23:05 +0000 From: "lizhijian@fujitsu.com" To: Yanjun Zhu , Jason Gunthorpe , "linux-rdma@vger.kernel.org" CC: "lizhijian@fujitsu.com" Subject: [PATCH] RDMA/rxe: Remove unused mask parameter Thread-Topic: [PATCH] RDMA/rxe: Remove unused mask parameter Thread-Index: AQHYkorNlaIujxrCr0+zt2skLeAZmA== Date: Fri, 8 Jul 2022 05:23:05 +0000 Message-ID: <20220708053014.1823332-1-lizhijian@fujitsu.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.31.1 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=fujitsu.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b2aa1493-902b-40c5-219f-08da60a1efc4 x-ms-traffictypediagnostic: OS3PR01MB8476:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: jWukW0VFS4GYYXBeVeLo/HQhYLkEiKI+Z3ENHsnCIbqZt24In0BJHjZJok8GzNkO9gqBlkbP+7CCZ+ebsAxX/XU69yhOi0o6/AdIjUd57JzmQ7BRbbpDPQnjXZp0R+wCNGrS1jQKZeQRBDY8WLkIAI8ipvFih87hcsETpKRzclR4ptXGsQrtqq5liHpBfn92quPQnF3EVA6wWUAkcVJeVUnn/OmIA7OLsBjkY12zeEXYXB8fQInK3ojSWNaDAxcBczp2UlaEVwCbre8LwHayT0ZyqSyU8QzJ9svn7mvAvw+HgAeAbPYNL6fRxSNtLuAR8d3vu8Yk7k+jC2v2Zw78t/diq0XLihzK9167p6ot0VvZFUu4OZSwHOkaUBcezVxCDuIQttNQiDAKXd3rkJhPh8AvKiwgenZTD0ovfLzM218OMmiC9Q3mgmHJ5P0FSVNKd6G3q/BV4EcB3Tr96tje8XF6O4OIibaLTP7zJPsQvjDnTyj+B1Hj4EQRScgQJ2n8NR7RHFa+mYMHY4Ssia22ETsRG/Ygen4hngEf8zLHBXokeUq4niNT/jgfpewi/t5iRY+KoxmTW1TYjz9iyKXLV0gyRdjfsuXf98gwGAMXlfZ5u8VHOA1cvpYMfTh3OIKbbx0SZJAC5+LnBMnDkySlxeFgfy2YmM63AMwVJeNRnD1ZJPcT/NDdGqxXg+MAqzAjKJd5eBURAMWyHC888hwJSZTiesVuenOW3uz8vh6OZZ5eFkhiOD1X2TGxpn/eSO3GGjKhkcJ/KBeCRQvBiv+dn5vqNZDzQLVpt5eM0+2h76/hoxhj0IUoFIwVpGmzf47X x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYCPR01MB9305.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(346002)(39860400002)(136003)(376002)(396003)(366004)(4744005)(110136005)(2906002)(1076003)(83380400001)(107886003)(6486002)(82960400001)(186003)(38100700002)(5660300002)(66556008)(86362001)(85182001)(71200400001)(316002)(36756003)(66476007)(64756008)(26005)(66446008)(66946007)(4326008)(478600001)(8676002)(41300700001)(6512007)(38070700005)(8936002)(76116006)(6506007)(2616005)(122000001)(91956017);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?eucgb2312_cn?b?MGFGV0NKVEdETldGNDhDNDZI?= =?eucgb2312_cn?b?djI3NWdIYjJjY3ZMbHh4Q0ZTWjlKWHZxQ3VnWnlPNGZSTExvaGV3aE90ajdGY2FI?= =?eucgb2312_cn?b?M0hYdEZMTy83QlI4S296VzdrdEh5UjFFKzlBV2I0YUhuZXVvbnZTZkxsTVFZdVlr?= =?eucgb2312_cn?b?K3NLTHZldXpIV1psb1ZlcG0yc1Q3MEt4NGhZMCtDTlhscVlhaWxrb3VFMzg2d3pn?= =?eucgb2312_cn?b?bkd6akNFNCt0ZTV2SnVubG1hN0lTeXNQTHNFTnRzTnc5cXlCNjlSQkE1SGwydms5?= =?eucgb2312_cn?b?Qm8vcDA3NEhwUG00dG1OcGdLamU5dHIzNVRPN21rdjVrQ0gwOGVIeUpySG01cko2?= =?eucgb2312_cn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kNtOTF5ZDBUL0tjQlBteGJLRkdMTVJnbTAvZjY5NmRjb3ViL2Iza3JyUTlN?= =?eucgb2312_cn?b?UU5RamdWZGMybThOb1RKcUlxL0xrNGdLMkZuQzVaazlQUUVWdFJHWGcya1JrRWhW?= =?eucgb2312_cn?b?V3dPNWszL0M0alIxVVJjZUFVa0E9PQ==?= MIME-Version: 1.0 X-OriginatorOrg: fujitsu.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB9305.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b2aa1493-902b-40c5-219f-08da60a1efc4 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jul 2022 05:23:05.4800 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a19f121d-81e1-4858-a9d8-736e267fd4c7 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 6pri/2Vf5Fk0kAW3knXAB1DlAWFr7uTrkNbYr2CkUg090wTUZQrf9VQZFGItjTcxRYOg827IAUjj52fUnE9i2A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS3PR01MB8476 Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org Signed-off-by: Li Zhijian --- drivers/infiniband/sw/rxe/rxe_req.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/infiniband/sw/rxe/rxe_req.c b/drivers/infiniband/sw/rxe/rxe_req.c index 69fc35485e60..35a249727435 100644 --- a/drivers/infiniband/sw/rxe/rxe_req.c +++ b/drivers/infiniband/sw/rxe/rxe_req.c @@ -15,8 +15,7 @@ static int next_opcode(struct rxe_qp *qp, struct rxe_send_wqe *wqe, u32 opcode); static inline void retry_first_write_send(struct rxe_qp *qp, - struct rxe_send_wqe *wqe, - unsigned int mask, int npsn) + struct rxe_send_wqe *wqe, int npsn) { int i; @@ -83,7 +82,7 @@ static void req_retry(struct rxe_qp *qp) if (mask & WR_WRITE_OR_SEND_MASK) { npsn = (qp->comp.psn - wqe->first_psn) & BTH_PSN_MASK; - retry_first_write_send(qp, wqe, mask, npsn); + retry_first_write_send(qp, wqe, npsn); } if (mask & WR_READ_MASK) {