mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-25 19:57:43 +03:00
module: icp: rip out modhash. Replace the one user with AVL
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #12901
This commit is contained in:
@@ -36,7 +36,6 @@
|
||||
#include <sys/crypto/api.h>
|
||||
#include <sys/crypto/impl.h>
|
||||
#include <sys/crypto/sched_impl.h>
|
||||
#include <sys/modhash_impl.h>
|
||||
#include <sys/crypto/icp.h>
|
||||
|
||||
/*
|
||||
@@ -114,16 +113,12 @@ icp_fini(void)
|
||||
kcf_sched_destroy();
|
||||
kcf_prov_tab_destroy();
|
||||
kcf_destroy_mech_tabs();
|
||||
mod_hash_fini();
|
||||
}
|
||||
|
||||
/* roughly equivalent to kcf.c: _init() */
|
||||
int __init
|
||||
icp_init(void)
|
||||
{
|
||||
/* initialize the mod hash module */
|
||||
mod_hash_init();
|
||||
|
||||
/* initialize the mechanisms tables supported out-of-the-box */
|
||||
kcf_init_mech_tabs();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user