patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] [PATCH] crypto/dpaa2_sec: remove dead code
@ 2020-10-23  7:43 David Marchand
  2020-10-23  8:35 ` Akhil Goyal
  2020-10-28 11:46 ` Akhil Goyal
  0 siblings, 2 replies; 3+ messages in thread
From: David Marchand @ 2020-10-23  7:43 UTC (permalink / raw)
  To: dev; +Cc: stable, Akhil Goyal, Hemant Agrawal

RTE_LIBRTE_SECURITY_TEST never existed, the variable under this check is
never used.

Fixes: e117c18a1dbe ("crypto/dpaa2_sec: restructure session management")
Cc: stable@dpdk.org

Signed-off-by: David Marchand <david.marchand@redhat.com>
---
 drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c
index afcd6bd063..7577803823 100644
--- a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c
+++ b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c
@@ -2818,12 +2818,6 @@ dpaa2_sec_ipsec_proto_init(struct rte_crypto_cipher_xform *cipher_xform,
 	return 0;
 }
 
-#ifdef RTE_LIBRTE_SECURITY_TEST
-static uint8_t aes_cbc_iv[] = {
-	0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
-	0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f };
-#endif
-
 static int
 dpaa2_sec_set_ipsec_session(struct rte_cryptodev *dev,
 			    struct rte_security_session_conf *conf,
-- 
2.23.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-stable] [PATCH] crypto/dpaa2_sec: remove dead code
  2020-10-23  7:43 [dpdk-stable] [PATCH] crypto/dpaa2_sec: remove dead code David Marchand
@ 2020-10-23  8:35 ` Akhil Goyal
  2020-10-28 11:46 ` Akhil Goyal
  1 sibling, 0 replies; 3+ messages in thread
From: Akhil Goyal @ 2020-10-23  8:35 UTC (permalink / raw)
  To: David Marchand, dev; +Cc: stable, Hemant Agrawal

> RTE_LIBRTE_SECURITY_TEST never existed, the variable under this check is
> never used.
> 
> Fixes: e117c18a1dbe ("crypto/dpaa2_sec: restructure session management")
> Cc: stable@dpdk.org
> 
> Signed-off-by: David Marchand <david.marchand@redhat.com>
> ---
This test is part of our internal tree in NXP. I think it got accidently added while rebasing
at some point. Thanks for cleaning this up.

Acked-by: Akhil Goyal <akhil.goyal@nxp.com>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-stable] [PATCH] crypto/dpaa2_sec: remove dead code
  2020-10-23  7:43 [dpdk-stable] [PATCH] crypto/dpaa2_sec: remove dead code David Marchand
  2020-10-23  8:35 ` Akhil Goyal
@ 2020-10-28 11:46 ` Akhil Goyal
  1 sibling, 0 replies; 3+ messages in thread
From: Akhil Goyal @ 2020-10-28 11:46 UTC (permalink / raw)
  To: David Marchand, dev; +Cc: stable, Hemant Agrawal

> RTE_LIBRTE_SECURITY_TEST never existed, the variable under this check is
> never used.
> 
> Fixes: e117c18a1dbe ("crypto/dpaa2_sec: restructure session management")
> Cc: stable@dpdk.org
> 
> Signed-off-by: David Marchand <david.marchand@redhat.com>
> ---
Applied to dpdk-next-crypto

Thanks.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-10-28 11:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-23  7:43 [dpdk-stable] [PATCH] crypto/dpaa2_sec: remove dead code David Marchand
2020-10-23  8:35 ` Akhil Goyal
2020-10-28 11:46 ` Akhil Goyal

patches for DPDK stable branches

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.dpdk.org/stable/0 stable/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 stable stable/ http://inbox.dpdk.org/stable \
		stable@dpdk.org
	public-inbox-index stable

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.stable


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git