aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/ahash.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2008-07-07 08:54:35 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2008-07-10 08:35:18 -0400
commit166247f46a9c866e6f7f7d2212be875fb82212a1 (patch)
tree54818c04ba4224b1a3d717f0dbf62456bb32deaa /crypto/ahash.c
parentca786dc738f4f583b57b1bba7a335b5e8233f4b0 (diff)
crypto: hash - Removed vestigial ahash fields
The base field in ahash_tfm appears to have been cut-n-pasted from ablkcipher. It isn't needed here at all. Similarly, the info field in ahash_request also appears to have originated from its cipher counter-part and is vestigial. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/ahash.c')
-rw-r--r--crypto/ahash.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/ahash.c b/crypto/ahash.c
index 8c1f918a6878..e6e5906ca80a 100644
--- a/crypto/ahash.c
+++ b/crypto/ahash.c
@@ -76,7 +76,6 @@ static int crypto_init_ahash_ops(struct crypto_tfm *tfm, u32 type, u32 mask)
76 crt->final = alg->final; 76 crt->final = alg->final;
77 crt->digest = alg->digest; 77 crt->digest = alg->digest;
78 crt->setkey = ahash_setkey; 78 crt->setkey = ahash_setkey;
79 crt->base = __crypto_ahash_cast(tfm);
80 crt->digestsize = alg->digestsize; 79 crt->digestsize = alg->digestsize;
81 80
82 return 0; 81 return 0;