From: Ard Biesheuvel Date: Sat, 9 Nov 2019 17:09:36 +0000 (+0100) Subject: crypto: nitrox - remove cra_type reference to ablkcipher X-Git-Tag: v5.10.7~3503^2~56 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e8306261a3625f7ef8b25bd6a71431a519cea607;p=platform%2Fkernel%2Flinux-rpi.git crypto: nitrox - remove cra_type reference to ablkcipher Setting the cra_type field is not necessary for skciphers, and ablkcipher will be removed, so drop the assignment from the nitrox driver. Signed-off-by: Ard Biesheuvel Signed-off-by: Herbert Xu --- diff --git a/drivers/crypto/cavium/nitrox/nitrox_skcipher.c b/drivers/crypto/cavium/nitrox/nitrox_skcipher.c index ec3aaad..97af4d5 100644 --- a/drivers/crypto/cavium/nitrox/nitrox_skcipher.c +++ b/drivers/crypto/cavium/nitrox/nitrox_skcipher.c @@ -493,7 +493,6 @@ static struct skcipher_alg nitrox_skciphers[] = { { .cra_blocksize = AES_BLOCK_SIZE, .cra_ctxsize = sizeof(struct nitrox_crypto_ctx), .cra_alignmask = 0, - .cra_type = &crypto_ablkcipher_type, .cra_module = THIS_MODULE, }, .min_keysize = AES_MIN_KEY_SIZE,