From patchwork Tue Jan 4 01:24:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Zhijian Li (Fujitsu)" X-Patchwork-Id: 12702892 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 56A66C433F5 for ; Tue, 4 Jan 2022 01:24:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231694AbiADBYS (ORCPT ); Mon, 3 Jan 2022 20:24:18 -0500 Received: from mail.cn.fujitsu.com ([183.91.158.132]:62276 "EHLO heian.cn.fujitsu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S230227AbiADBYR (ORCPT ); Mon, 3 Jan 2022 20:24:17 -0500 IronPort-Data: A9a23:2IBIV61XjWRRKtaTJ/bD5Ttzkn2cJEfYwER7XOPLsXnJ0T9002AEyzQYCGHTaf2DYDb3eNF2a9jjoEMCv8Ldzd42QQE+nZ1PZygU8JKaX7x1DatR0xu6d5SFFAQ+hyknQoGowPscEzmM9n9BDpC79SMmjfjQHeKnYAL5EnsZqTFMGX5JZS1Ly7ZRbr5A2bBVMivV0T/Ai5S31GyNh1aYBlkpB5er83uDihhdVAQw5TTSbdgT1LPXeuJ84Jg3fcldJFOgKmVY83LTegrN8F251juxExYFAdXjnKv5c1ERX/jZOg3mZnh+AvDk20Yd4HdplPtT2Pk0MC+7jx2NnsJxyddMvJqYRxorP7HXhaIWVBww/yRWZPQXqeWcfCTh2SCU5wicG5f2+N18HUMkLI9Cor4vKW5L/P0cbjsKa3irg++xxpq4R/Nqi8BlK9PkVKsbu3d93XTaAOwgTJTrXarH/5lb0S02i8QIGuzRD+IdaDxyfFHabxhGEkkYBYh4n+qygHT7NTpCpzq9p6U4y3rSwRR8lrPkWOc50PTiqd59xx7e/zyZuT+iRExyCTBW8hLdmlrEuwMFtXqTtFouKYCF IronPort-HdrOrdr: A9a23:b1CUa6H8nxVEPHC6pLqE1MeALOsnbusQ8zAXPiFKOHhom6mj+vxG88506faKslwssR0b+OxoW5PwJE80l6QFgrX5VI3KNGbbUQCTXeNfBOXZowHIKmnX8+5x8eNaebFiNduYNzNHpPe/zA6mM9tI+rW6zJw= X-IronPort-AV: E=Sophos;i="5.88,258,1635177600"; d="scan'208";a="119923546" Received: from unknown (HELO cn.fujitsu.com) ([10.167.33.5]) by heian.cn.fujitsu.com with ESMTP; 04 Jan 2022 09:24:15 +0800 Received: from G08CNEXMBPEKD04.g08.fujitsu.local (unknown [10.167.33.201]) by cn.fujitsu.com (Postfix) with ESMTP id 7F4414D146D4; Tue, 4 Jan 2022 09:24:12 +0800 (CST) Received: from G08CNEXCHPEKD07.g08.fujitsu.local (10.167.33.80) by G08CNEXMBPEKD04.g08.fujitsu.local (10.167.33.201) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Tue, 4 Jan 2022 09:24:12 +0800 Received: from FNSTPC.g08.fujitsu.local (10.167.226.45) by G08CNEXCHPEKD07.g08.fujitsu.local (10.167.33.209) with Microsoft SMTP Server id 15.0.1497.23 via Frontend Transport; Tue, 4 Jan 2022 09:24:11 +0800 From: Li Zhijian To: , , CC: , , Li Zhijian Subject: [PATCH v2] RDMA/rxe: Get rid of redundant plus Date: Tue, 4 Jan 2022 09:24:06 +0800 Message-ID: <20220104012406.27580-1-lizhijian@fujitsu.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 X-yoursite-MailScanner-ID: 7F4414D146D4.ACA08 X-yoursite-MailScanner: Found to be clean X-yoursite-MailScanner-From: lizhijian@fujitsu.com Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org From: Li Zhijian Get rid of the duplicate plus in a line to be consistent with others. Signed-off-by: Li Zhijian Reviewed-by: Zhu Yanjun --- drivers/infiniband/sw/rxe/rxe_opcode.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/infiniband/sw/rxe/rxe_opcode.c b/drivers/infiniband/sw/rxe/rxe_opcode.c index 3ef5a10a6efd..79122eeb4d82 100644 --- a/drivers/infiniband/sw/rxe/rxe_opcode.c +++ b/drivers/infiniband/sw/rxe/rxe_opcode.c @@ -879,9 +879,9 @@ struct rxe_opcode_info rxe_opcode[RXE_NUM_OPCODE] = { [RXE_ATMETH] = RXE_BTH_BYTES + RXE_RDETH_BYTES + RXE_DETH_BYTES, - [RXE_PAYLOAD] = RXE_BTH_BYTES + + [RXE_PAYLOAD] = RXE_BTH_BYTES + RXE_ATMETH_BYTES - + RXE_DETH_BYTES + + + RXE_DETH_BYTES + RXE_RDETH_BYTES, } }, @@ -900,9 +900,9 @@ struct rxe_opcode_info rxe_opcode[RXE_NUM_OPCODE] = { [RXE_ATMETH] = RXE_BTH_BYTES + RXE_RDETH_BYTES + RXE_DETH_BYTES, - [RXE_PAYLOAD] = RXE_BTH_BYTES + + [RXE_PAYLOAD] = RXE_BTH_BYTES + RXE_ATMETH_BYTES - + RXE_DETH_BYTES + + + RXE_DETH_BYTES + RXE_RDETH_BYTES, } },