From: David Marchand Date: Fri, 23 Oct 2020 07:43:04 +0000 (+0200) Subject: crypto/dpaa2_sec: remove dead code X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=0ea0bbfebc3e557b1739b20de0dabbe938b2f058;p=dpdk.git crypto/dpaa2_sec: remove dead code 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 Acked-by: Akhil Goyal --- diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c index ce1d50ce77..6ff0d833e9 100644 --- a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c +++ b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c @@ -2820,12 +2820,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,