From: Nithinsen Kaithakadan <nkaithaka...@marvell.com>

Remove multiple return statements.
Fix compilation error in debug mode.

Fixes: 8fc370ee0208 ("crypto/cnxk: add CN20K security skeleton")
Cc: sta...@dpdk.org

Signed-off-by: Nithinsen Kaithakadan <nkaithaka...@marvell.com>
---
 drivers/crypto/cnxk/cn20k_ipsec.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/crypto/cnxk/cn20k_ipsec.c 
b/drivers/crypto/cnxk/cn20k_ipsec.c
index 8f79033ccc..0bca863492 100644
--- a/drivers/crypto/cnxk/cn20k_ipsec.c
+++ b/drivers/crypto/cnxk/cn20k_ipsec.c
@@ -373,6 +373,4 @@ cn20k_ipsec_session_update(struct cnxk_cpt_vf *vf, struct 
cnxk_cpt_qp *qp,
 
        return cn20k_ipsec_outb_sa_create(roc_cpt, &qp->lf, &conf->ipsec, 
conf->crypto_xform,
                                          (struct cn20k_sec_session *)sess);
-
-       return 0;
 }
-- 
2.25.1

Reply via email to