From patchwork Tue Jan 30 15:00:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 126255 Delivered-To: patch@linaro.org Received: by 10.46.84.92 with SMTP id y28csp3451992ljd; Tue, 30 Jan 2018 07:17:03 -0800 (PST) X-Google-Smtp-Source: AH8x224KoFsO3V5KNxBMxqNxFZSNW2WrEnvBSV5b06TjPHL0u/QoSrND+ieBD03ZIBOmMGR5fx6u X-Received: by 10.37.219.70 with SMTP id g67mr19406116ybf.419.1517325423398; Tue, 30 Jan 2018 07:17:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517325423; cv=none; d=google.com; s=arc-20160816; b=m2JzT4CFYvH3MpQ9pk+sdZvd6zTfSx/P0fB27NyJESc0rLKPfmDMw6I9DSk3VYT8cK fz3ysooBMowQXLL2f+wxYgWJAJ/XhHk8MdkVCst4etzFxL2qmS5xeENwwsloLwqx8P9y L8r6tj6ljhS2+6cehdEkqfY5ktPA1Z2IrGUGyJZ+asQI/KYsRK35HGB4ZaFqq6b4cM/n 6z5XzribLc2L1gGOZge9UOycm7W7Q79FUbRWNehxxGa1fmX1iHphr89ou6uMvJV3tEvp 4sWbautpU14kvQuOeftHyI3pmgGI7HDptrURvqvj336PFwErvp/b82B0kqe7s5bTf96C pmtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=w07ykDbCdfWffGrGsdTCjA5d35wSf3ZNWUp3ebkzru8=; b=WqYu6VishMbTUazeFY2/PAY23BpWYWAi+CPxpb+ZRLElVo+n7BMGE2G3kKhTh7zZww HM73SDYdusYWqjh9ilBGgQyunQiR1XfRhsoRbYO/fW3EHlC44OZQ/JjT4sp1IUL8uIVC gk2XZyZOdGKkHCh+aWzfh8xOeZppGYWQ59gl+LlOajzUfIxisUq+iUeWwUQ5vZboJFR1 yUVmEthnYA9vq0TuX8SSm6nr6e1plzZYKQfnyh95tbm5ZA+rZB5yqk4jOslkg/m5a3gx N4SI/hHLFTdPkbk7+dNa0N1ZbSUMUHfrGzaO3yv1SgOdUYLYjLieyfA5NFKtpjAdZGs5 juSw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id r69si737685qke.466.2018.01.30.07.17.03; Tue, 30 Jan 2018 07:17:03 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 0FF9960C5D; Tue, 30 Jan 2018 15:17:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2 autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 0E30F61781; Tue, 30 Jan 2018 15:01:59 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id E3D6C61506; Tue, 30 Jan 2018 15:00:43 +0000 (UTC) Received: from forward105j.mail.yandex.net (forward105j.mail.yandex.net [5.45.198.248]) by lists.linaro.org (Postfix) with ESMTPS id 56A00614E1 for ; Tue, 30 Jan 2018 15:00:23 +0000 (UTC) Received: from mxback6o.mail.yandex.net (mxback6o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::20]) by forward105j.mail.yandex.net (Yandex) with ESMTP id 28B7E184AB4 for ; Tue, 30 Jan 2018 18:00:22 +0300 (MSK) Received: from smtp1p.mail.yandex.net (smtp1p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:6]) by mxback6o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id KDbWCRx6ob-0ML0MxpZ; Tue, 30 Jan 2018 18:00:22 +0300 Received: by smtp1p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id sxKD104gxy-0LrekoRX; Tue, 30 Jan 2018 18:00:21 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 30 Jan 2018 18:00:06 +0300 Message-Id: <1517324412-24567-12-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1517324412-24567-1-git-send-email-odpbot@yandex.ru> References: <1517324412-24567-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 434 Subject: [lng-odp] [PATCH API-NEXT v3 11/17] linux-gen: crypto: drop stale enum X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov Drop crypto_kind_t, unused now. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 434 (lumag:crypto-upd) ** https://github.com/Linaro/odp/pull/434 ** Patch: https://github.com/Linaro/odp/pull/434.patch ** Base sha: abc7b3bb0babe8efa0fde52752bcd514f2f0d422 ** Merge commit sha: 15e0c830b5937ae889b7bcf6822797dbe0ecb799 **/ platform/linux-generic/odp_crypto.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/platform/linux-generic/odp_crypto.c b/platform/linux-generic/odp_crypto.c index 93736a2c6..00db3f9f2 100644 --- a/platform/linux-generic/odp_crypto.c +++ b/platform/linux-generic/odp_crypto.c @@ -159,8 +159,6 @@ typedef struct crypto_local_t { static __thread crypto_local_t local; -typedef enum { KIND_HMAC, KIND_CIPHER, KIND_MAC_CIPHER } crypto_kind_t; - static inline void crypto_init(odp_crypto_generic_session_t *session) { if (local.ctx_valid[session->idx])