From patchwork Mon Nov 13 14:45:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gilad Ben-Yossef X-Patchwork-Id: 118801 Delivered-To: patch@linaro.org Received: by 10.80.225.132 with SMTP id k4csp1132146edl; Mon, 13 Nov 2017 06:48:01 -0800 (PST) X-Google-Smtp-Source: AGs4zMbcRG7Kf7rbnB/teEKW0oGK+wnJ755Y7VCBpWeIXFm1W8xBusDO88ZUeBIecjL3EfHpUFed X-Received: by 10.99.127.67 with SMTP id p3mr8922856pgn.321.1510584481546; Mon, 13 Nov 2017 06:48:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510584481; cv=none; d=google.com; s=arc-20160816; b=CuTPAZkT4BXRq2qQhPIrAOK+EH9rBNCjWC3DL/KeSDUrymCrkqekCzV9T4o0d4jRl1 1Ld12SN45JDtCFt/a/jmcgRWiKSNIbVT4sXB6Zjk7GUnwFqTXNao3ACK6GFImxMczW0D Y4pD+IHEk91uWVZT6KeD4iNTjOujSeOwRVFBsX0YyYmXhwW9TmzNoREd/FEoEImCb8kt fKjCfE5RiwaVz0S5RWj2/7LIKXKXVyDNlrNmKeP0njtVtbds9SebBdBFqeop+c0T5UdX 2PZ/V8r2FeISY4PZlbzzLbc+HzjzkQIc4o8LUYZZLH9EBwWo+QEkh3NtANeobYwCIOcI 3uig== 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=+b9VZS5xac+sRzLsbiXxyuS9MT3gYRFeTrUQWE2M0rA=; b=RO5b2Th6asHgbp3oTn07LElsuY6pyfX0z0b0qc7ElRPckJgskFcEI6cQWRU2KisFoT 3QNcf/F4S8/PsfUpILJzifEfsGknLejSBfavDXDqAcPWSJZNRul2IBpGnKO8ePVo1ou9 mNzeZ8BwfcdACO7V8DEkHJ6NhND47eEW5dR1+KAjgOfV9lXEGF+lsEKjKudbDBFQMH1s qbbtUVOnelyBRktejaCjLKnQIYl5m9/dD6Yhi0lskxL8m52z8k0S7SSyA3Gcy9WOSnxa n7DpqzhQGBMyH8LHWPFKor0gHjBRWWuCabAn2dzl0B+Rb+5PwgQf7ORGQTmmK9brcajv v8TA== 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 q13si3502354pgt.668.2017.11.13.06.48.01; Mon, 13 Nov 2017 06:48:01 -0800 (PST) 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 S1752920AbdKMOr6 (ORCPT + 27 others); Mon, 13 Nov 2017 09:47:58 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:47414 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753417AbdKMOrz (ORCPT ); Mon, 13 Nov 2017 09:47:55 -0500 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 C39731435; Mon, 13 Nov 2017 06:47:54 -0800 (PST) Received: from sugar.kfn.arm.com (unknown [10.45.48.133]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2FB083F318; Mon, 13 Nov 2017 06:47:52 -0800 (PST) From: Gilad Ben-Yossef To: Greg Kroah-Hartman Cc: Ofir Drang , linux-crypto@vger.kernel.org, driverdev-devel@linuxdriverproject.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH 16/24] staging: ccree: remove dead defs and decls Date: Mon, 13 Nov 2017 14:45:44 +0000 Message-Id: <1510584358-29473-17-git-send-email-gilad@benyossef.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1510584358-29473-1-git-send-email-gilad@benyossef.com> References: <1510584358-29473-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 no longer definitions of enums and forward declaration of functions dealing with sysfs interface of the long removed ccree cycle counter. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_sysfs.h | 23 ----------------------- 1 file changed, 23 deletions(-) -- 2.7.4 diff --git a/drivers/staging/ccree/ssi_sysfs.h b/drivers/staging/ccree/ssi_sysfs.h index 44ae3d4..5124528 100644 --- a/drivers/staging/ccree/ssi_sysfs.h +++ b/drivers/staging/ccree/ssi_sysfs.h @@ -26,30 +26,7 @@ /* forward declaration */ struct ssi_drvdata; -enum stat_phase { - STAT_PHASE_0 = 0, - STAT_PHASE_1, - STAT_PHASE_2, - STAT_PHASE_3, - STAT_PHASE_4, - STAT_PHASE_5, - STAT_PHASE_6, - MAX_STAT_PHASES, -}; - -enum stat_op { - STAT_OP_TYPE_NULL = 0, - STAT_OP_TYPE_ENCODE, - STAT_OP_TYPE_DECODE, - STAT_OP_TYPE_SETKEY, - STAT_OP_TYPE_GENERIC, - MAX_STAT_OP_TYPES, -}; - int ssi_sysfs_init(struct kobject *sys_dev_obj, struct ssi_drvdata *drvdata); void ssi_sysfs_fini(void); -void update_host_stat(unsigned int op_type, unsigned int phase, cycles_t result); -void update_cc_stat(unsigned int op_type, unsigned int phase, unsigned int elapsed_cycles); -void display_all_stat_db(void); #endif /*__SSI_SYSFS_H__*/