projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[SCSI] libfc: change to make remote port callback optional
[cascardo/linux.git]
/
crypto
/
algboss.c
diff --git
a/crypto/algboss.c
b/crypto/algboss.c
index
6906f92
..
9908dd8
100644
(file)
--- a/
crypto/algboss.c
+++ b/
crypto/algboss.c
@@
-280,29
+280,13
@@
static struct notifier_block cryptomgr_notifier = {
static int __init cryptomgr_init(void)
{
static int __init cryptomgr_init(void)
{
- int err;
-
- err = testmgr_init();
- if (err)
- return err;
-
- err = crypto_register_notifier(&cryptomgr_notifier);
- if (err)
- goto free_testmgr;
-
- return 0;
-
-free_testmgr:
- testmgr_exit();
- return err;
+ return crypto_register_notifier(&cryptomgr_notifier);
}
static void __exit cryptomgr_exit(void)
{
int err = crypto_unregister_notifier(&cryptomgr_notifier);
BUG_ON(err);
}
static void __exit cryptomgr_exit(void)
{
int err = crypto_unregister_notifier(&cryptomgr_notifier);
BUG_ON(err);
-
- testmgr_exit();
}
subsys_initcall(cryptomgr_init);
}
subsys_initcall(cryptomgr_init);