git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0022ae1
)
common/cpt: remove self assignment
author
Sunila Sahu
<ssahu@marvell.com>
Wed, 5 Feb 2020 13:16:18 +0000
(18:46 +0530)
committer
Akhil Goyal
<akhil.goyal@nxp.com>
Wed, 5 Feb 2020 14:29:14 +0000
(15:29 +0100)
This fixes coverity issue of self assignment.
Coverity issue: 353635
Fixes:
99faef832563
("crypto/octeontx: support ECPM")
Signed-off-by: Sunila Sahu <ssahu@marvell.com>
Signed-off-by: Anoob Joseph <anoobj@marvell.com>
drivers/common/cpt/cpt_ucode_asym.h
patch
|
blob
|
history
diff --git
a/drivers/common/cpt/cpt_ucode_asym.h
b/drivers/common/cpt/cpt_ucode_asym.h
index
881959e
..
a67efb3
100644
(file)
--- 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;