From patchwork Wed Jul 5 10:39:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Minjie Du X-Patchwork-Id: 13301941 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 2BAECEB64DD for ; Wed, 5 Jul 2023 10:40:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232131AbjGEKkQ (ORCPT ); Wed, 5 Jul 2023 06:40:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232079AbjGEKkP (ORCPT ); Wed, 5 Jul 2023 06:40:15 -0400 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2138.outbound.protection.outlook.com [40.107.117.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B100E63; Wed, 5 Jul 2023 03:40:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LFeksQ3p3SR0NYHsB2Kc7PUKi21ixJV5aWLA+ISiQa/23CUOUIol09gBLGM0YCw4A4A+t2J7YV5F4nUO2rrTUrB1FWBlHC4/er8b5zeyyStRb3E9WW97bnuVeWXgk5k8+QHggP69uYFs5xn/0FDE2sljuKSKeK/owZhbWeE7TtGLDQdt2fk3EERGlBtTfgHJFTNmwAjnJCZY+ANGqDvnOsbvAS//p/3t5GTFi/FAoChoUSok3urM+0NlljuaAB7s7t8msq/CHjBbHnN3vEI15oV2/vHwflF/EhdtzvKJs9qxPFt2wMzdDmlfTrzvHc+D28X95Lmz26YjkJBMPTe3cQ== 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=0Vk95VKEXhW9u8TltFZldVDSSnhngu23wfCNwShB5+I=; b=dNXvucPdOSqy+FgLwjUGxQgWT1VsPR5kzKJ7ybCkKZsXvS88Gfqtmk+57x+vIQX17XLWgEG2cmgR6Oqt26O0XiLSesb4xtkyFvR/yAtEeK/FNYNYh3tJoOYIZ3No0vEWds1RGflzBiO5ul3mBlRTA6pus4Jrg7/Parm34rCiyBQwklukhKcPA0JWktLbKkBe/lQm/cV09a2R3mwDQhXe20aDYkIFsC+7rwPJN05eFQ0loUSK5gVFXbwNq3q3KdBY2U9sREc990oPdDRvWt1oKvZ4lBvhDQY0pZrhALJnMqtyR+CtbcEL/sm3cik0FaDahfj9hvFbtlbSrHlzH6hD0Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vivo.com; dmarc=pass action=none header.from=vivo.com; dkim=pass header.d=vivo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivo.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0Vk95VKEXhW9u8TltFZldVDSSnhngu23wfCNwShB5+I=; b=lX5SDN6qlzDD67vY5wb/gp0wiW+NJJJY6diDNXL2PMaHTowPxVhcMiRZvGaVloT7gA/U89c237MkBYonjvaHFbwTRjqyMPLi+sGn3F9a0zPeO1O9FXkQElHpKDBaEwsjiiREsCUKY734PsrlbrurnSZGf99P1pF219twg2sCCeNt+1b+jC2Qg6AvJnfE/K4aYDGGOMWSzPDK/UVeeAGOUaAQtW52f4yzRs2kB9W0yxztWNpENc8lxxTcLqX+FrqZ34WRIqnQNHUERlqZ9b65M0xfRI0FgQGw9enLjUBXQaPAsvAVeJOvfueoTLWvjwVtbjre+aCTBuUlf4f6DLI4TA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from SG2PR06MB5288.apcprd06.prod.outlook.com (2603:1096:4:1dc::9) by TYSPR06MB6444.apcprd06.prod.outlook.com (2603:1096:400:47b::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6544.24; Wed, 5 Jul 2023 10:40:11 +0000 Received: from SG2PR06MB5288.apcprd06.prod.outlook.com ([fe80::c2b:41ab:3b14:f920]) by SG2PR06MB5288.apcprd06.prod.outlook.com ([fe80::c2b:41ab:3b14:f920%7]) with mapi id 15.20.6565.016; Wed, 5 Jul 2023 10:40:11 +0000 From: Minjie Du To: Markus.Elfring@web.de, Michal Kalderon , Ariel Elior , Jason Gunthorpe , Leon Romanovsky , linux-rdma@vger.kernel.org (open list:QLOGIC QL4xxx RDMA DRIVER), linux-kernel@vger.kernel.org (open list) Cc: opensource.kernel@vivo.com, Minjie Du Subject: [PATCH v2] RDMA/qedr: Remove a duplicate assignment in qedr_create_gsi_qp() Date: Wed, 5 Jul 2023 18:39:50 +0800 Message-Id: <20230705103950.15225-1-duminjie@vivo.com> X-Mailer: git-send-email 2.39.0 X-ClientProxiedBy: SG2P153CA0016.APCP153.PROD.OUTLOOK.COM (2603:1096::26) To SG2PR06MB5288.apcprd06.prod.outlook.com (2603:1096:4:1dc::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PR06MB5288:EE_|TYSPR06MB6444:EE_ X-MS-Office365-Filtering-Correlation-Id: 7a6e19ff-6831-41a9-cfb3-08db7d44354e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wOJWrLjYLe3ieqcqgH0J0AnXfokwiGR361pUAdDY1oyHpQ2T9ME4OQYxUHtlCbJEU13uTB7AyJlWJEkOnPIO3WK3ptpGiX4bdU5ccR82qep3sL8Tx9rGXyh2/6N6z7CDj6GKM2gqF0lly7Yf5dFNec1Y0aZZcIbQARKLTnkWsKxKC7rwwce3agNCPQpyFGmrazhAgQy6OY6PydWgJG1G1UDAB1DXwGXrlDF8pYplkkOj5C6YdGGgl43wlRJs5YBF9HivHq7vFpibyYaqFg1G6zq0RjdznSe71igJ6WOrnKjxLCpb+3LCKNwIa4Sd6g6V71eZ/aplLzzCb4RV1oJCCw7v4vUqJpnpjaX6QA3SpeLYzwymJ+PqemfhG9HmYZwnfwelLolLRGdRjg5Di8gsBHrcgCdnggvmD/+aw9pX2aKGiL3G61usB0vXPjO6k21W5D/ttTdbZWgWQnzkeQOCOvMdBzeTovjyU1LgjHBxOeBoPzqBT/gE3f3SuY0s+SnExbG5w/dcwvEi6JSgLsrEhFSbRHViVX39mEy88VpA20M/DKo50IetZFMT0WUUQwmzQLFr57TDQga3IIGjOOviRWL4/cVCEqQ4YJZMKw2MJuPUQOI3gR1vZuwF9kpRp8Wz X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SG2PR06MB5288.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(136003)(376002)(366004)(396003)(346002)(39850400004)(451199021)(6666004)(38350700002)(38100700002)(52116002)(2906002)(4744005)(6486002)(8936002)(8676002)(110136005)(36756003)(41300700001)(5660300002)(478600001)(66946007)(86362001)(4326008)(186003)(66556008)(66476007)(26005)(107886003)(1076003)(6506007)(6512007)(316002)(2616005)(83380400001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: h1YYRkW01Y22f4ci0fuxZiBmwYw8S9JfNXoxaEHAZa7A40/RrnkkhXIkebYvmtt61uHuY24BJUW1DD5fm/kceXBJjuS2HGZiKXy2O4VZBqjfBoL3Ond+JGgvUX+7j5f7C3sZJHL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wUbvxQapvXlD6VOEC22J1LG5v9rwUNT3mh2yzF/GeUysp0ANoIcS/+yeVxIQ51IYJjokzvI1RT9qRv6cRbvR6UgmfruAtuscErM9b7EEfKN6OiVQpj22IJ6e2GbVI5BWh/Ymn+8st83utfqVM09zvzbErLSrQxOmYzAJOJbJxygPB/lhrTB7bApFjpCuNT72ZnllNvutFBb3vn6fSTBuvLHNefZhOPn0VAJpoh8yp1Munvl3y+ZhhnDxgdSykYQfgDkbkPK+/6cwFSD1ZQZnAXdJzrw1Wj+t0Xg2Kvkz/9l2Kp7n/ZKSUUCH34blb8B5su2lPCkOINIS9f57JK/NzaoRZERGevZV0kI5Id9UNrS5HPHPrmpprG7iUAQaHyUROVe2CJX X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7a6e19ff-6831-41a9-cfb3-08db7d44354e X-MS-Exchange-CrossTenant-AuthSource: SG2PR06MB5288.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jul 2023 10:40:11.0300 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 923e42dc-48d5-4cbe-b582-1a797a6412ed X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 5jHxKMjC3MbG5o949DoLC/9IRxAWvme00HM85xKYl7lZNNNdTbJznAHEVp+bj93oM7QD8XmX2ok5SDuVLMNe3Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYSPR06MB6444 Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org Delete a duplicate statement from this function implementation. Signed-off-by: Minjie Du Acked-by: Alok Prasad --- drivers/infiniband/hw/qedr/qedr_roce_cm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/infiniband/hw/qedr/qedr_roce_cm.c b/drivers/infiniband/hw/qedr/qedr_roce_cm.c index 05307c148..859f66a51 100644 --- a/drivers/infiniband/hw/qedr/qedr_roce_cm.c +++ b/drivers/infiniband/hw/qedr/qedr_roce_cm.c @@ -354,7 +354,6 @@ int qedr_create_gsi_qp(struct qedr_dev *dev, struct ib_qp_init_attr *attrs, /* the GSI CQ is handled by the driver so remove it from the FW */ qedr_destroy_gsi_cq(dev, attrs); dev->gsi_rqcq->cq_type = QEDR_CQ_TYPE_GSI; - dev->gsi_rqcq->cq_type = QEDR_CQ_TYPE_GSI; DP_DEBUG(dev, QEDR_MSG_GSI, "created GSI QP %p\n", qp);