mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
module: icp: remove unused pd_{remove_cv,hash_limit}
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #12901
This commit is contained in:
@@ -214,7 +214,6 @@ kcf_alloc_provider_desc(void)
|
||||
desc->pd_state = KCF_PROV_ALLOCATED;
|
||||
|
||||
mutex_init(&desc->pd_lock, NULL, MUTEX_DEFAULT, NULL);
|
||||
cv_init(&desc->pd_resume_cv, NULL, CV_DEFAULT, NULL);
|
||||
cv_init(&desc->pd_remove_cv, NULL, CV_DEFAULT, NULL);
|
||||
|
||||
return (desc);
|
||||
@@ -264,7 +263,6 @@ kcf_free_provider_desc(kcf_provider_desc_t *desc)
|
||||
/* free the kernel memory associated with the provider descriptor */
|
||||
|
||||
mutex_destroy(&desc->pd_lock);
|
||||
cv_destroy(&desc->pd_resume_cv);
|
||||
cv_destroy(&desc->pd_remove_cv);
|
||||
|
||||
kmem_free(desc, sizeof (kcf_provider_desc_t));
|
||||
|
||||
Reference in New Issue
Block a user