From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1983EA04FA; Wed, 5 Feb 2020 14:17:37 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8F2BB1C1E0; Wed, 5 Feb 2020 14:17:01 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id DC6441C1F3 for ; Wed, 5 Feb 2020 14:16:59 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 015DEvKH027130; Wed, 5 Feb 2020 05:16:59 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0818; bh=kWv3lyI+BMoDJO1IFkdaFOgaabI4iCNYP38mbrXB3KE=; b=GX2zYjWOoaWSNLn3ijOH+xbThX4sWaoE3GrpoITu7c2yQIe/E4Be7VyBbdkEHwxQemEZ whLLMNd3tnQrI4/WJ41IwBvBH0PEL2XQKkb9KKRw7HkDoZ3XNHDBLdwvFq6Si5PfQbvN YB/G7SK9ecOhE8HvI0vpCGYQfe+0TuxPKCL+KXuXSgRNXHIibBora1oatsRfoKW4EO66 nZO8IJTW25WrVXGAVbVjiN1HaPog10pHnIaLjiDv9Dtay2JNVMbOMcHsRfqVHfK0+LDp ILW0pXfERXtKsbF9ChsIQDifh+B0nAzOAbdDS0imaF0G8h2w/6VdsPqeTNAL0dGar2PX Ag== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0b-0016f401.pphosted.com with ESMTP id 2xyhn12wwr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 05 Feb 2020 05:16:59 -0800 Received: from SC-EXCH04.marvell.com (10.93.176.84) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 5 Feb 2020 05:16:57 -0800 Received: from maili.marvell.com (10.93.176.43) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 5 Feb 2020 05:16:57 -0800 Received: from ajoseph83.caveonetworks.com (unknown [10.29.45.60]) by maili.marvell.com (Postfix) with ESMTP id AD6FE3F72F1; Wed, 5 Feb 2020 05:16:55 -0800 (PST) From: Anoob Joseph To: Akhil Goyal CC: Sunila Sahu , , Anoob Joseph Date: Wed, 5 Feb 2020 18:46:18 +0530 Message-ID: <1580908578-3384-7-git-send-email-anoobj@marvell.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1580908578-3384-1-git-send-email-anoobj@marvell.com> References: <1580908578-3384-1-git-send-email-anoobj@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.572 definitions=2020-02-05_03:2020-02-04, 2020-02-05 signatures=0 Subject: [dpdk-dev] [PATCH 6/6] common/cpt: removes self assignment code X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: Sunila Sahu This fixes coverity issue of self assignment. Coverity issue: 353635 Signed-off-by: Sunila Sahu Signed-off-by: Anoob Joseph --- drivers/common/cpt/cpt_ucode_asym.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/common/cpt/cpt_ucode_asym.h b/drivers/common/cpt/cpt_ucode_asym.h index 881959e..a67efb3 100644 --- a/drivers/common/cpt/cpt_ucode_asym.h +++ b/drivers/common/cpt/cpt_ucode_asym.h @@ -888,7 +888,6 @@ cpt_ecpm_prep(struct rte_crypto_ecpm_op_param *ecpm, vq_cmd_w0.s.param1 = curveid; vq_cmd_w0.s.param2 = ecpm->scalar.length; vq_cmd_w0.s.dlen = dlen; - vq_cmd_w0.u64 = vq_cmd_w0.u64; /* Filling cpt_request_info structure */ req->ist.ei0 = vq_cmd_w0.u64; -- 2.7.4