From 344619334d0b3d008e9605c09b99f4912eeb7f89 Mon Sep 17 00:00:00 2001 From: Herbert Xu Date: Fri, 21 Oct 2011 14:37:10 +0200 Subject: [PATCH] --- yaml --- r: 272312 b: refs/heads/master c: e6ea64ece7f4c14294b2fce5403b1e71eab87f1e h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/crypto/crypto_user.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 25d41e4e0181..df4b6e5a55e5 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 573da6208a7e2b2d8666b8b02f5054d3a4e12998 +refs/heads/master: e6ea64ece7f4c14294b2fce5403b1e71eab87f1e diff --git a/trunk/crypto/crypto_user.c b/trunk/crypto/crypto_user.c index 748990fa3c53..2abca780312d 100644 --- a/trunk/crypto/crypto_user.c +++ b/trunk/crypto/crypto_user.c @@ -40,7 +40,6 @@ struct crypto_dump_info { static struct crypto_alg *crypto_alg_match(struct crypto_user_alg *p, int exact) { - int match; struct crypto_alg *q, *alg = NULL; down_read(&crypto_alg_sem); @@ -49,6 +48,7 @@ static struct crypto_alg *crypto_alg_match(struct crypto_user_alg *p, int exact) return NULL; list_for_each_entry(q, &crypto_alg_list, cra_list) { + int match = 0; if ((q->cra_flags ^ p->cru_type) & p->cru_mask) continue;