diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2009-07-13 08:46:25 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2009-07-14 00:58:15 -0400 |
commit | 2ca33da1dea3ba53d1425226a6bac073c5e8568c (patch) | |
tree | bb231d9ecdd0c669f6b761fdb501e03621a2d9ae /crypto/shash.c | |
parent | 6b1679f4a006acb5d76f8df686aa44c63d2555b4 (diff) |
crypto: api - Remove frontend argument from extsize/init_tfm
As the extsize and init_tfm functions belong to the frontend the
frontend argument is superfluous.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/shash.c')
-rw-r--r-- | crypto/shash.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/crypto/shash.c b/crypto/shash.c index 3b1b06b3dcf3..7063e1421504 100644 --- a/crypto/shash.c +++ b/crypto/shash.c | |||
@@ -448,8 +448,7 @@ static unsigned int crypto_shash_ctxsize(struct crypto_alg *alg, u32 type, | |||
448 | return 0; | 448 | return 0; |
449 | } | 449 | } |
450 | 450 | ||
451 | static int crypto_shash_init_tfm(struct crypto_tfm *tfm, | 451 | static int crypto_shash_init_tfm(struct crypto_tfm *tfm) |
452 | const struct crypto_type *frontend) | ||
453 | { | 452 | { |
454 | struct crypto_shash *hash = __crypto_shash_cast(tfm); | 453 | struct crypto_shash *hash = __crypto_shash_cast(tfm); |
455 | 454 | ||
@@ -457,8 +456,7 @@ static int crypto_shash_init_tfm(struct crypto_tfm *tfm, | |||
457 | return 0; | 456 | return 0; |
458 | } | 457 | } |
459 | 458 | ||
460 | static unsigned int crypto_shash_extsize(struct crypto_alg *alg, | 459 | static unsigned int crypto_shash_extsize(struct crypto_alg *alg) |
461 | const struct crypto_type *frontend) | ||
462 | { | 460 | { |
463 | return alg->cra_ctxsize; | 461 | return alg->cra_ctxsize; |
464 | } | 462 | } |