From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4037AA04DE; Fri, 23 Oct 2020 09:43:52 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 76D619A89; Fri, 23 Oct 2020 09:43:49 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by dpdk.org (Postfix) with ESMTP id 174367F6C for ; Fri, 23 Oct 2020 09:43:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1603439025; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=oi/b3+0EX5IgPjVj5g0hS2Nn6Esn6IsIqeLN0ODuFAA=; b=Gj//FGs4yh2kZKoscoXKRfQd8xQ7nR3uzOAx8YDj5IGxn2iEi0BTkMHg1XuW7NGjMc6AAX StmITVMuDpTleClsefbFbUPg8h+H7T8DjNcwZauRG+G8Ukb2dRQ+fttiobhRpRrL84k6e3 miEW6UMgl9sdwOqqapSwVwN1rcqRHAQ= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-568-fQ2dVTPANre-nHqQCZMVbQ-1; Fri, 23 Oct 2020 03:43:43 -0400 X-MC-Unique: fQ2dVTPANre-nHqQCZMVbQ-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 7901086ABD9; Fri, 23 Oct 2020 07:43:42 +0000 (UTC) Received: from dmarchan.remote.csb (unknown [10.40.193.33]) by smtp.corp.redhat.com (Postfix) with ESMTP id 33FD510013D0; Fri, 23 Oct 2020 07:43:41 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: stable@dpdk.org, Akhil Goyal , Hemant Agrawal Date: Fri, 23 Oct 2020 09:43:04 +0200 Message-Id: <20201023074304.25247-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=david.marchand@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Subject: [dpdk-dev] [PATCH] crypto/dpaa2_sec: remove dead code X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 --- 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