summaryrefslogtreecommitdiffstats
path: root/crypto/echainiv.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2020-07-09 23:20:36 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2020-07-16 21:49:07 +1000
commite72b48c5e7fe0c9fabeb23385b6e6f02f0a78d37 (patch)
tree5086172f2e0ab1ca39e9825160323057c9bd6f3a /crypto/echainiv.c
parentd7866e503bdca854e6bc64521f030404d7cab642 (diff)
downloadlinux-e72b48c5e7fe0c9fabeb23385b6e6f02f0a78d37.tar.bz2
crypto: geniv - remove unneeded arguments from aead_geniv_alloc()
The type and mask arguments to aead_geniv_alloc() are always 0, so remove them. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/echainiv.c')
-rw-r--r--crypto/echainiv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/echainiv.c b/crypto/echainiv.c
index 4a2f02baba14..69686668625e 100644
--- a/crypto/echainiv.c
+++ b/crypto/echainiv.c
@@ -115,7 +115,7 @@ static int echainiv_aead_create(struct crypto_template *tmpl,
struct aead_instance *inst;
int err;
- inst = aead_geniv_alloc(tmpl, tb, 0, 0);
+ inst = aead_geniv_alloc(tmpl, tb);
if (IS_ERR(inst))
return PTR_ERR(inst);