Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp7274779imm; Thu, 28 Jun 2018 00:34:15 -0700 (PDT) X-Google-Smtp-Source: ADUXVKK6MNQzzn06PCo5SBm8uR9H6B3knI41btyPWZQqYvfmYNKxjS68sl2AvpORslJKCIEoWs93 X-Received: by 2002:a17:902:7c8b:: with SMTP id y11-v6mr9099829pll.222.1530171255781; Thu, 28 Jun 2018 00:34:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530171255; cv=none; d=google.com; s=arc-20160816; b=Kh9HLRuFwlt6DrA55xs/+bzR4ooc4Tsq/L+2bwLSgAfRQT6MsJnM3+J+oyQcLlRtg/ w+tv8yTTKGkHBngKNykcyjDD3RX83xsgJBAwXJhmVWeM9dc7xA8bYczPsKjdMba2a78P FOBulJwSj/roQGoVY4OJF2eYVevAXdceXmsFwWGpNQWOMogPm0cdsRZvPDDUeSyeoWUV IKOFwaxPzMqldXt3gThU+Wm1SRiGx2uMKOZkrjzy3tk8CKVwsvAP2VWfE3yfcyA7u8tx jGSPepQPK6xfLFmKegX5ZGlLV1uMZV6UViKUL3pxbaQp1o2e/dcBLJlBPEy0SXuNhKYH Ibzw== 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 y2-v6si5857361plp.459.2018.06.28.00.34.01; Thu, 28 Jun 2018 00:34:15 -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 S934261AbeF1HdR (ORCPT + 99 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(-) 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; -- 2.7.4