mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2024-12-29 01:02:08 +00:00
crypto: keywrap - remove assignment of 0 to cra_alignmask
Since this code is zero-initializing the algorithm struct, the assignment of 0 to cra_alignmask is redundant. Remove it to reduce the number of matches that are found when grepping for cra_alignmask. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
5478ced478
commit
f916e44487
@ -279,7 +279,6 @@ static int crypto_kw_create(struct crypto_template *tmpl, struct rtattr **tb)
|
||||
goto out_free_inst;
|
||||
|
||||
inst->alg.base.cra_blocksize = SEMIBSIZE;
|
||||
inst->alg.base.cra_alignmask = 0;
|
||||
inst->alg.ivsize = SEMIBSIZE;
|
||||
|
||||
inst->alg.encrypt = crypto_kw_encrypt;
|
||||
|
Loading…
Reference in New Issue
Block a user