X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=crypto%2Fcrypto_user.c;h=0605a2bbba75e17e67e59f602f1d12c453404031;hb=bd29e568a4cb6465f6e5ec7c1c1f3ae7d99cbec1;hp=2abca780312d74246c60d7fcc9f6e9bf71f421c0;hpb=de0a5345a55b8dd5a4695181275df0e691176830;p=pandora-kernel.git diff --git a/crypto/crypto_user.c b/crypto/crypto_user.c index 2abca780312d..0605a2bbba75 100644 --- a/crypto/crypto_user.c +++ b/crypto/crypto_user.c @@ -44,9 +44,6 @@ static struct crypto_alg *crypto_alg_match(struct crypto_user_alg *p, int exact) down_read(&crypto_alg_sem); - if (list_empty(&crypto_alg_list)) - return NULL; - list_for_each_entry(q, &crypto_alg_list, cra_list) { int match = 0;