[6/6] common/cpt: removes self assignment code

Message ID 1580908578-3384-7-git-send-email-anoobj@marvell.com (mailing list archive)
State Accepted, archived
Delegated to: akhil goyal
Headers
Series code improvements for OCTEON TX crypto PMDs |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/travis-robot warning Travis build: failed
ci/Intel-compilation fail apply issues

Commit Message

Anoob Joseph Feb. 5, 2020, 1:16 p.m. UTC
  From: Sunila Sahu <ssahu@marvell.com>

This fixes coverity issue of self assignment.

Coverity issue: 353635

Signed-off-by: Sunila Sahu <ssahu@marvell.com>
Signed-off-by: Anoob Joseph <anoobj@marvell.com>
---
 drivers/common/cpt/cpt_ucode_asym.h | 1 -
 1 file changed, 1 deletion(-)
  

Patch

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;