From 710657f51d65b8fb1f389bf6a973e67a8243502f Mon Sep 17 00:00:00 2001 From: наб Date: Thu, 23 Dec 2021 19:51:00 +0100 Subject: module: icp: remove other provider types MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Brian Behlendorf Signed-off-by: Ahelenia Ziemiańska Closes #12901 --- include/sys/crypto/api.h | 1 - include/sys/crypto/common.h | 6 ------ include/sys/zfs_context.h | 1 - 3 files changed, 8 deletions(-) (limited to 'include/sys') diff --git a/include/sys/crypto/api.h b/include/sys/crypto/api.h index 3e27769e7..3f56a4bb1 100644 --- a/include/sys/crypto/api.h +++ b/include/sys/crypto/api.h @@ -168,7 +168,6 @@ typedef enum { /* The event_arg argument structure for CRYPTO_EVENT_PROVIDERS_CHANGE event */ typedef struct crypto_notify_event_change { crypto_mech_name_t ec_mech_name; - crypto_provider_type_t ec_provider_type; crypto_event_change_t ec_change; } crypto_notify_event_change_t; diff --git a/include/sys/crypto/common.h b/include/sys/crypto/common.h index fa4d05c6c..557c3d4d1 100644 --- a/include/sys/crypto/common.h +++ b/include/sys/crypto/common.h @@ -369,12 +369,6 @@ typedef struct crypto_key32 { /* Providers */ -typedef enum { - CRYPTO_HW_PROVIDER = 0, - CRYPTO_SW_PROVIDER, - CRYPTO_LOGICAL_PROVIDER -} crypto_provider_type_t; - typedef uint32_t crypto_provider_id_t; #define KCF_PROVID_INVALID ((uint32_t)-1) diff --git a/include/sys/zfs_context.h b/include/sys/zfs_context.h index d53b2c3a0..6d1fd83df 100644 --- a/include/sys/zfs_context.h +++ b/include/sys/zfs_context.h @@ -509,7 +509,6 @@ extern taskq_t *taskq_of_curthread(void); extern int taskq_cancel_id(taskq_t *, taskqid_t); extern void system_taskq_init(void); extern void system_taskq_fini(void); -extern boolean_t taskq_empty(taskq_t *); #define XVA_MAPSIZE 3 #define XVA_MAGIC 0x78766174 -- cgit v1.2.3