From patchwork Mon Sep 7 06:23:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arkadiusz Kusztal X-Patchwork-Id: 76634 X-Patchwork-Delegate: gakhil@marvell.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id DE42DA04BE; Mon, 7 Sep 2020 08:24:57 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 45A8B1BE0C; Mon, 7 Sep 2020 08:24:57 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 6ACB729AC for ; Mon, 7 Sep 2020 08:24:55 +0200 (CEST) IronPort-SDR: Tzq9WGyUaRVwfdNEOm6MuE6pNrKu0cMGkP5vb9UPYdxXwsujYCYEP/nlyjsTRDSmAjxw5mgjDU RazZ/hLhiWGA== X-IronPort-AV: E=McAfee;i="6000,8403,9736"; a="242776140" X-IronPort-AV: E=Sophos;i="5.76,401,1592895600"; d="scan'208";a="242776140" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Sep 2020 23:24:43 -0700 IronPort-SDR: r1Q5dCGLuEld9LWpmzjJp0Wpt+hEgwc2Wm2fHs+bT81BKWSDJ2gVXNvsiiNnivYifqMpAW9kxt nLFSrocMGJVA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,400,1592895600"; d="scan'208";a="335984468" Received: from akusztax-mobl.ger.corp.intel.com (HELO akusztax-MOBL1.ger.corp.intel.com) ([10.104.113.32]) by fmsmga002.fm.intel.com with ESMTP; 06 Sep 2020 23:24:41 -0700 From: Arek Kusztal To: dev@dpdk.org Cc: akhil.goyal@nxp.com, fiona.trahe@intel.com, Arek Kusztal Date: Mon, 7 Sep 2020 08:23:58 +0200 Message-Id: <20200907062358.354-1-arkadiuszx.kusztal@intel.com> X-Mailer: git-send-email 2.28.0.windows.1 MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH] crypto/qat: remove asym list end references 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" This patch removes LIST_END enumerators references from Intel QuickAssist Technology asymmetric crypto PMD. Signed-off-by: Arek Kusztal Acked-by: Fiona Trahe --- drivers/crypto/qat/qat_asym.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/crypto/qat/qat_asym.c b/drivers/crypto/qat/qat_asym.c index 85973812a..9157151d9 100644 --- a/drivers/crypto/qat/qat_asym.c +++ b/drivers/crypto/qat/qat_asym.c @@ -742,11 +742,6 @@ qat_asym_session_configure(struct rte_cryptodev *dev, err = -EINVAL; goto error; } - } else if (xform->xform_type >= RTE_CRYPTO_ASYM_XFORM_TYPE_LIST_END - || xform->xform_type <= RTE_CRYPTO_ASYM_XFORM_NONE) { - QAT_LOG(ERR, "Invalid asymmetric crypto xform"); - err = -EINVAL; - goto error; } else { QAT_LOG(ERR, "Asymmetric crypto xform not implemented"); err = -EINVAL;