From: Eric Biggers Date: Sat, 7 Dec 2024 19:57:52 +0000 (-0800) Subject: crypto: keywrap - remove assignment of 0 to cra_alignmask X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=f916e44487f56df4827069ff3a2070c0746dc511;p=users%2Fjedix%2Flinux-maple.git 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 Signed-off-by: Herbert Xu --- diff --git a/crypto/keywrap.c b/crypto/keywrap.c index 385ffdfd5a9b..5ec4f94d46bd 100644 --- a/crypto/keywrap.c +++ b/crypto/keywrap.c @@ -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;