Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp28866919rwd; Wed, 5 Jul 2023 04:03:31 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5kuorXpcUQV33M52uTW2miktKoTR/7IwpGoTQ6e5dftHcNGPbmge5Wv8lQOIJKrqV95WI3 X-Received: by 2002:a5e:dc0b:0:b0:763:92eb:f81e with SMTP id b11-20020a5edc0b000000b0076392ebf81emr16728232iok.8.1688555011213; Wed, 05 Jul 2023 04:03:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1688555011; cv=pass; d=google.com; s=arc-20160816; b=p5nJ85pBbBU6Ybm9LFsALSIjoSxdyUBkWKC9Tfn1l7Wm88tzbd3XyW2P5udviMA2zZ 9fsZalUli9pBt7/LxPomIvCvHvIL/lZxJ3W7Ars+2Hu19zMslj6ZmA6CQEv2VyGg3utB 7nK7k6QJcFnlCB+nWksJm2HeIuaUJsW3nBD/Fd69OPZvnnvsvlEew200c/2jdZ7yZGpR FgK68NKL6LeGV0c4wFFbGUUs4uhmSj+4N4GYTQH6hslUH68zlo3UmINPqejthUsBpYI7 33oRVC2BMRcq5vVxhg1eqKFWaeevRQhOFyWZb0ozhZJEfcq2BtICkvSpUVJOsChWd44j YCkA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :message-id:date:subject:cc:to:from:dkim-signature; bh=rZFg8q3ajWVrs9UEYy4kTEEdFVbMqkr0P0XEQtGAKZc=; fh=LR0aAThoCgNBTxNHNFan6OOu7r5uewHwj+yrG2JKA5M=; b=RFViH71LsDIRyBPhlZzNyGm7fvGMHn757U1zfAUFrwsuZ24vCbvYxJQmJB7k5vrU0D cHZpk0TQUsQz8BnslQKP60qSGYzFqHxenV5WYrdVl4jJXZre8hzv+I2NUXIvgBtSZrEi TLAd+vJCFN4wFQwTfZ8JHwGCsqohZiBNjwmxqP45SEidRjw9ljgHDCyRrQCOJyNI5SCq mYpisd55Oq/Z66EzT/D41+H41hCihwzBWGehuPDyCEaL+x3mDwqaizDRUK4XKtcmCNu1 56kt8/WbrnjTJ9fTwlwyYAttD1zjoVX12db5Gv2PVOQ4UQ6IHs2V6sysQBHgs1LIYZ3f S91A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=HMl4pvRl; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k36-20020a634b64000000b005503f25aac2si23026148pgl.241.2023.07.05.04.02.52; Wed, 05 Jul 2023 04:03:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=HMl4pvRl; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231475AbjGEKge (ORCPT + 99 others); Wed, 5 Jul 2023 06:36:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230285AbjGEKgd (ORCPT ); Wed, 5 Jul 2023 06:36:33 -0400 Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2121.outbound.protection.outlook.com [40.107.255.121]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF0B8DD; Wed, 5 Jul 2023 03:36:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EawKUI2wDF0s/rkz+Q37G7SgZexPTRH8/D/53NVA2TnkckHNky+kumxjtRzJ8tANaYNERTgyoyb3GaH/BW7+JW05ld7sw75TUGsLgijibiQf3/zK1T7vN/EbwDmBRnGYTZKW2Ex9/29I6rWqgxRUY79hS733vqZ6r/YbUO6BEuYRbYvgxDZJaBf3mJ2ydJGx9sLxgRZdN6Mp/G7djEOn72ws9LNpXXZnTi3mMPxNB7E6T6eSwfIO8oWgJL7qCCQtHO3nQ5PPg/zjAyCYz2gKOcREwBXzzPVkAC0ExtIUgyIRTkRjXYxhgMz+d852haBgfp2mk1t20pZmdJG0OSyfYg== 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=rZFg8q3ajWVrs9UEYy4kTEEdFVbMqkr0P0XEQtGAKZc=; b=Kzpo2YTsDqfiTyER25KmYwnplS90QLNojCa7JOJ6P/jZ3d55rcjUwaf9g7xWKOiPa7G9Vp3SagVmRvS42TQ7vRCi/CcF/qdtfV+YGvxPH7WwHMkQd9GaLsy62R2iF/42XscPm25iypwLzN/BjUrQfJHXrB81+pafSTZ2t4SDCnYxF24tzzTE439LkqB1/Y9nc4nu706T05iJ++xDRVsxighpOGscoUMvcwxOv5vr+hGY8Ip/jzXfAzFQAYC96a8cH/8zzOe/jvibPt4+3gehKttgdx6WSsXS4bQSxx/HEQ+q5qVPvIFE7RZTnRhBo9SDMVy3Z5QrJIk/egWBCGllRA== 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=rZFg8q3ajWVrs9UEYy4kTEEdFVbMqkr0P0XEQtGAKZc=; b=HMl4pvRlm/RsWSaMb3zr8gfOWlRhY6eVW8/SuWbPC4kS0eOgLqPf2PAa3Wqz4m/nfFqaPwASsy/VraDnHFhgriW2XP1sFSSNNd4vit7dC9fN73of/D7PDnUKDGRQzW3WQf8xQmkGnEIyMTEb5M9ya+qmGR+7ciK+T6W7DPqoFeE/AK2O0WqGJwaZCJ2VVZLrNchekjH/J8BC1ZxAEJ51FCoIKO6/4A7r+O9ST9e5nuE/yUgLhV0W9hO1upO+DilZhru9Wbrv5qrOAc29YQ/tVDCDzg3Lo3M9EYYd7HgAQJoDHverI8oPV5tTnYj0RgBwbOYfpcPb+XX1hXnKB/Y6PA== 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 PUZPR06MB6145.apcprd06.prod.outlook.com (2603:1096:301:11a::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6565.17; Wed, 5 Jul 2023 10:36:27 +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:36:27 +0000 From: Minjie Du To: Markus.Elfring@web.de, Ariel Elior , Manish Chopra , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org (open list:QLOGIC QL4xxx ETHERNET DRIVER), linux-kernel@vger.kernel.org (open list) Cc: opensource.kernel@vivo.com, Minjie Du Subject: [PATCH v2] qed: Remove a duplicate assignment in qed_rdma_create_srq() Date: Wed, 5 Jul 2023 18:35:46 +0800 Message-Id: <20230705103547.15072-1-duminjie@vivo.com> X-Mailer: git-send-email 2.39.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SGBP274CA0020.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b0::32) To SG2PR06MB5288.apcprd06.prod.outlook.com (2603:1096:4:1dc::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PR06MB5288:EE_|PUZPR06MB6145:EE_ X-MS-Office365-Filtering-Correlation-Id: 8a7acd91-616d-4d55-872d-08db7d43aff7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: eFOroHnWvPAY0QyySoVtMqoGGH4XZnhJV5xdd2UOpKx/DkbKm53lAgD59CGDFFvBWy6I9DwbWDB2P05brvdEfvhnio9ITyTFA/nl9dPT1XjEtBCNhkPq11fZhMaGJj37pv+77gYLkRdL8I3aclfzinkgsTvpR3h+Bme9KYE7e14Koor3aeAGcSgILMw6/GuLBSnI3/56mGj/XHeoKs/5KioMVqfnzJE75160GhoJgVhhiB+yfABaikTWDT/UK2pXAAcnRhMh98KbVmVTyi7SWtAq+hkKvh+wUxs8AY92Lt4XBANx1L+/cK46742JIs+eHdJnzmiqn5jnBmKoZ3OdL/OaeIc8KM158vFweeZDD+63dxHEp/RviHjbxrg5HeU+pY/mDCGqRXPGrsj+3cCXtRHBjKNkDk6ywrkATZmyiAOuD06lsZebl2dvwIQQiEN6guVM3uirxP46fcqkJx5eSvsSgzhg/w5FSBf4oPKV5AlceaYVWsz4uHU1Y7pmHzE/lUbEQPXEa7cW3d6KEm9TfZ/+1BoxGJhY8rI+KPv4nUdGb+L0QMcLBz8HkCRmFKsBBFRIWmIpCiLL44Ajwcmebqz2XwaT2k+ZXrypzyi0WSJWjrg+UTztk5wKa8Ge8tYF 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)(396003)(39860400002)(366004)(136003)(376002)(346002)(451199021)(2906002)(8676002)(2616005)(86362001)(8936002)(5660300002)(6506007)(6666004)(110136005)(1076003)(26005)(478600001)(6486002)(107886003)(52116002)(186003)(6512007)(4744005)(38100700002)(38350700002)(83380400001)(4326008)(316002)(66556008)(66946007)(36756003)(66476007)(41300700001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?jNPOn14lbzm47XahL8Ai5sa+pKwUaru9WJOkSjA/XREfeAwTICbBtO4GjTMe?= =?us-ascii?Q?PrXYlfoNBDmfeibPnZTEc2v6DVhT+QhC6ipS5of++kQL2DN6q5scJJXKJFpa?= =?us-ascii?Q?6y+nTlS7BSpuok+OrIeqK3BA+6Xs+K56yZZSV5WxWy4iFNnrqVbPyi34ZO+l?= =?us-ascii?Q?rWDSMkU81mO+9hQ2qtzqS8Sn3cgY86IHNDqvroEYzgyHnU6/kJQgzEyOSyni?= =?us-ascii?Q?7jsMGzpHQze7ecNEdxuZw+xyPpPAX8lI01dzUCCmgBgd+fevRsVF6hCfFq45?= =?us-ascii?Q?HYs0ck4Vxgblb2BKgUimE4S0ioHpz3lHa7g86NMqI8V1rhh1h3dgAUirhbao?= =?us-ascii?Q?qQlf+cJGFr1++2Y3xOvLL+hzigtqzvmYmDGzypUYh3bRSpybOAA5ZunBwbfx?= =?us-ascii?Q?QuKwYtq72pOQA4TW4Hf90iQtgVQXZKg9jo7zXD5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?Q?KzKHcf9oK4kspQzdZpuP2hcd3sMxr8MZRzic7uasdeHymiTdt6jZCvk6s1+N?= =?us-ascii?Q?mgJBc7vmTKzuVhHS/XH8qI13gjqBDSRjEFi6ZBqu/lCgntXnfhM/avyVqHch?= =?us-ascii?Q?QukFdNgcB5qKODoVNKwp5ha5fX6kLsgPdyD0FweVCa71MPqQIlybr0WXbF8R?= =?us-ascii?Q?2C1dKdHwgWb1XQxbZDhfxTGBcFrqM04St0bTFcpu5VUKmjAplMMIHyKqYNJg?= =?us-ascii?Q?KdVKBpjzom61uWJtIT5MidISzcOE0NH6e0oySoOQ?= X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8a7acd91-616d-4d55-872d-08db7d43aff7 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:36:27.3989 (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: RCHag9Qov+sRWbOy8H7bvx1MPakQLySq6Il4swzPNSHvjprZUZ9Prm3QR9m8jxyQDqR/4oqgIUkGKW5e2NGI/w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PUZPR06MB6145 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Delete a duplicate statement from this function implementation. Signed-off-by: Minjie Du --- drivers/net/ethernet/qlogic/qed/qed_rdma.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ethernet/qlogic/qed/qed_rdma.c b/drivers/net/ethernet/qlogic/qed/qed_rdma.c index 5a5dbbb8d..41efced49 100644 --- a/drivers/net/ethernet/qlogic/qed/qed_rdma.c +++ b/drivers/net/ethernet/qlogic/qed/qed_rdma.c @@ -1795,7 +1795,6 @@ qed_rdma_create_srq(void *rdma_cxt, opaque_fid = p_hwfn->hw_info.opaque_fid; - opaque_fid = p_hwfn->hw_info.opaque_fid; init_data.opaque_fid = opaque_fid; init_data.comp_mode = QED_SPQ_MODE_EBLOCK; -- 2.39.0