From patchwork Thu Jun 28 07:32:54 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: 140423 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp1853573ljj; Thu, 28 Jun 2018 00:33:20 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKW43S2dsfcHJv+h5U2dQ7rX7b7k/us4b8u2dMvnkTxLrcQNkK7GuRcAdbXufaki3bxWbye X-Received: by 2002:a63:3807:: with SMTP id f7-v6mr7917320pga.446.1530171200792; Thu, 28 Jun 2018 00:33:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530171200; cv=none; d=google.com; s=arc-20160816; b=adDY44QlH7Pas5d7BI9Ri6PdxirFszkkUfG3W+uSmCtgIvqSOeoQ8VMmCiwAh7Oi1x WwpJtLNJzTb/CR10tWR1BGOWhGYcIl8uBJnnePjHWWmbzA7hGBVAlNZkJwbX5BdWvwAk +yemOIvEU0uKyetcIMknsXbjUCXYNKMEuOyKSCJXOd+Q+Q6LzxHx8BAx/yCTS8+BqjGF 0U93nXLF2sUGTaxCus22bVgFoHVtrC5km2Eov4SfttTRtBVreBNE8xWrlyjOnQehx7wa YGJVlF+iiLcHfn5OJJK4AUvmMh0Ba3gV3YXo92Ksw4PnIPdwaqwjeR3EfrJPZj767eX3 9x/g== 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=tkPDMQuG5p2sEIvahUakMo8IcajwEJZT9yG/QVFnCwo=; b=YXx8/yZMKBhka4DF0xcDOeGrcqYRWYZ+JzsTTgg5HI0avxg0b+hDh3rbopGaPvdsq+ ShaDqlwcgaBL5sSLbGwTQX0UmN4NjiRv4fqp2U7dsTAH01WbCbFGkBApfyqyHMPmodLe VoaBtJx9BXdDus75MJ8orHDntgoNx/uUah7eYR+pWUw0VwPcTvfC+3r0g8kovctXI0mD aPM6HkU0jZeI6adCmJauufOEQ70bdOgbuutI/DKT5wkJivEyEkfzIXlD2jLWIFvqC1qz 9RAkhGUDYHBly7/MYiwT7u9htroRlWRI7KkM5o/q37d5KIP14j3Ltnuoolh8hszfhaLi 4IIQ== 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 c81-v6si6058093pfj.138.2018.06.28.00.33.20; Thu, 28 Jun 2018 00:33:20 -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 S934272AbeF1HdR (ORCPT + 31 others); Thu, 28 Jun 2018 03:33:17 -0400 Received: from foss.arm.com ([217.140.101.70]:42238 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934216AbeF1HdL (ORCPT ); Thu, 28 Jun 2018 03:33:11 -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 15A7318A; Thu, 28 Jun 2018 00:33:11 -0700 (PDT) Received: from sugar.kfn.arm.com (unknown [10.45.48.147]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 65E2D3F5C0; Thu, 28 Jun 2018 00:33:09 -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 4/4] crypto: ccree: remove dead legacy code Date: Thu, 28 Jun 2018 08:32:54 +0100 Message-Id: <1530171175-31960-5-git-send-email-gilad@benyossef.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1530171175-31960-1-git-send-email-gilad@benyossef.com> References: <1530171175-31960-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 3af44a5..8204c87 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;