From patchwork Sun Jul 1 07:02:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gilad Ben-Yossef X-Patchwork-Id: 140695 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2689870ljj; Sun, 1 Jul 2018 00:04:22 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJ/AUkMfUd6GLXZ9/Tpjfi54EpG5hFZRPXq0ZCsuQW65XLsV4Jb61YUdeznLVFrLuhXL4+E X-Received: by 2002:a65:4841:: with SMTP id i1-v6mr17533831pgs.75.1530428661968; Sun, 01 Jul 2018 00:04:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530428661; cv=none; d=google.com; s=arc-20160816; b=HCHEYXG3ap2ByR14EcCs9F70s3c8QVmHsBTJ3tbLTt3yIxCyBC0dEvXUx8mxfEL9RM ln4Vqp9hsYIvnU9Z6NKIeBiOKOxczzHDj7o7GIh8eniEmA1VaYqFX5b8sS+dv/euvPY1 8magcXbh6rukousa0fP9cRiNTIte0tyBMFFbAurOdJJkOXaG5N8Y0gEZu5YgN9sPeppk muIp3VSqvJ9+hww8H6CU5g9zoSep09gXq3r5tphiolXe5TgylP4e+nkdIaE1rHBawgcC kV8qlew85GyTY3CQ9FTeS4eMkYeCtfyU2HMbzK/NmXfHXN1sINpwIoqgLTeVbtzIhli5 0R3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=mMB9tYmajsQrG8OrnGfwJkGRsd8eF5pSqQ8Q7rDcckY=; b=srDh1W98/7a+IMMDyq4dMloyVHJ0tSWdw05ulmwstA+I34+NlQN1gu6Bheu6pb+ern 7IhPNzz9VZwR5BsB6QCGAOzyWHHljy4JWCNqzPR9VPI5ubxLFMtft99nQ/IevpE8ghY3 X28atc8T4o1bFknMp46PFuv51QX9wjrzK4xeJ92WePgLKFgVOLQkwCBB2spGG+HDfWnk JgVAf2wqk67dnEOVoYDOQwfiRN2vTtIlxuJnAFkAlHFeabarL17VSbHPhkTPZXL3TgZa ByN5RwHJOb1MdNoxkMo2Tfx2Uwdq/HEbKNnMScrwVOcGfhTNAfnkQR8Lwmbz0FEgI8Nx wyMg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v71-v6si10856800pfj.354.2018.07.01.00.04.21; Sun, 01 Jul 2018 00:04:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752390AbeGAHEU (ORCPT + 31 others); Sun, 1 Jul 2018 03:04:20 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:47360 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752027AbeGAHDn (ORCPT ); Sun, 1 Jul 2018 03:03:43 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 079CB1529; Sun, 1 Jul 2018 00:03:43 -0700 (PDT) Received: from sugar.benyossef.com (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2A8D93F318; Sun, 1 Jul 2018 00:03:40 -0700 (PDT) From: Gilad Ben-Yossef To: Herbert Xu , "David S. Miller" Cc: Ofir Drang , Hadar Gat , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 4/6] crypto: ccree: remove dead legacy code Date: Sun, 1 Jul 2018 08:02:37 +0100 Message-Id: <1530428560-4440-5-git-send-email-gilad@benyossef.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1530428560-4440-1-git-send-email-gilad@benyossef.com> References: <1530428560-4440-1-git-send-email-gilad@benyossef.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove legacy code no longer used by anything. Signed-off-by: Gilad Ben-Yossef --- drivers/crypto/ccree/cc_cipher.c | 6 ------ 1 file changed, 6 deletions(-) -- 2.7.4 diff --git a/drivers/crypto/ccree/cc_cipher.c b/drivers/crypto/ccree/cc_cipher.c index 958ced3..5d12372 100644 --- a/drivers/crypto/ccree/cc_cipher.c +++ b/drivers/crypto/ccree/cc_cipher.c @@ -730,12 +730,6 @@ static int cc_cipher_process(struct skcipher_request *req, cc_req.user_cb = (void *)cc_cipher_complete; cc_req.user_arg = (void *)req; -#ifdef ENABLE_CYCLE_COUNT - cc_req.op_type = (direction == DRV_CRYPTO_DIRECTION_DECRYPT) ? - STAT_OP_TYPE_DECODE : STAT_OP_TYPE_ENCODE; - -#endif - /* Setup request context */ req_ctx->gen_ctx.op_type = direction;