]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - crypto/algapi.c
crypto: api - Export crypto_alg_lookup instead of __crypto_alg_lookup
[linux-2.6-omap-h63xx.git] / crypto / algapi.c
index e65cb50cf4aff8b739130ba7012e383196ef286a..e9154c1347ca16c6d2b409a390bb1e784bd6760f 100644 (file)
@@ -27,9 +27,7 @@ void crypto_larval_error(const char *name, u32 type, u32 mask)
 {
        struct crypto_alg *alg;
 
-       down_read(&crypto_alg_sem);
-       alg = __crypto_alg_lookup(name, type, mask);
-       up_read(&crypto_alg_sem);
+       alg = crypto_alg_lookup(name, type, mask);
 
        if (alg) {
                if (crypto_is_larval(alg)) {