summaryrefslogtreecommitdiff
path: root/crypto/pcompress.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2009-07-13 20:46:25 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2009-07-14 12:58:15 +0800
commit45d91a5eefe60cb4f1ec929f6caa9786141d513b (patch)
tree0aef2337a38459a3c19ca0ef8aba042fe34af355 /crypto/pcompress.c
parent7ea078fe51351df5d70c1040756221bf902bfe6b (diff)
downloadlinux-crypto-45d91a5eefe60cb4f1ec929f6caa9786141d513b.tar.gz
linux-crypto-45d91a5eefe60cb4f1ec929f6caa9786141d513b.zip
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/pcompress.c')
-rw-r--r--crypto/pcompress.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/crypto/pcompress.c b/crypto/pcompress.c
index bcadc037..f7c4a7d7 100644
--- a/crypto/pcompress.c
+++ b/crypto/pcompress.c
@@ -36,14 +36,12 @@ static int crypto_pcomp_init(struct crypto_tfm *tfm, u32 type, u32 mask)
return 0;
}
-static unsigned int crypto_pcomp_extsize(struct crypto_alg *alg,
- const struct crypto_type *frontend)
+static unsigned int crypto_pcomp_extsize(struct crypto_alg *alg)
{
return alg->cra_ctxsize;
}
-static int crypto_pcomp_init_tfm(struct crypto_tfm *tfm,
- const struct crypto_type *frontend)
+static int crypto_pcomp_init_tfm(struct crypto_tfm *tfm)
{
return 0;
}