diff options
Diffstat (limited to 'crypto/algapi.c')
-rw-r--r-- | crypto/algapi.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/crypto/algapi.c b/crypto/algapi.c index 056571b85445..c3b9bfeeb7ff 100644 --- a/crypto/algapi.c +++ b/crypto/algapi.c | |||
@@ -24,22 +24,6 @@ | |||
24 | 24 | ||
25 | static LIST_HEAD(crypto_template_list); | 25 | static LIST_HEAD(crypto_template_list); |
26 | 26 | ||
27 | void crypto_larval_error(const char *name, u32 type, u32 mask) | ||
28 | { | ||
29 | struct crypto_alg *alg; | ||
30 | |||
31 | alg = crypto_alg_lookup(name, type, mask); | ||
32 | |||
33 | if (alg) { | ||
34 | if (crypto_is_larval(alg)) { | ||
35 | struct crypto_larval *larval = (void *)alg; | ||
36 | complete_all(&larval->completion); | ||
37 | } | ||
38 | crypto_mod_put(alg); | ||
39 | } | ||
40 | } | ||
41 | EXPORT_SYMBOL_GPL(crypto_larval_error); | ||
42 | |||
43 | static inline int crypto_set_driver_name(struct crypto_alg *alg) | 27 | static inline int crypto_set_driver_name(struct crypto_alg *alg) |
44 | { | 28 | { |
45 | static const char suffix[] = "-generic"; | 29 | static const char suffix[] = "-generic"; |
@@ -295,7 +279,6 @@ found: | |||
295 | continue; | 279 | continue; |
296 | 280 | ||
297 | larval->adult = alg; | 281 | larval->adult = alg; |
298 | complete_all(&larval->completion); | ||
299 | continue; | 282 | continue; |
300 | } | 283 | } |
301 | 284 | ||