common/cpt: remove self assignment
authorSunila Sahu <ssahu@marvell.com>
Wed, 5 Feb 2020 13:16:18 +0000 (18:46 +0530)
committerAkhil 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

index 881959e..a67efb3 100644 (file)
@@ -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;