2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-24 05:04:00 +08:00

staging: ccree: remove dead defs and decls

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 <gilad@benyossef.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Gilad Ben-Yossef 2017-11-13 14:45:44 +00:00 committed by Greg Kroah-Hartman
parent a213e41c33
commit 5e1de0e737

View File

@ -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__*/