1
0
Fork 0
alistair23-linux/drivers/crypto/qce
Eric Biggers d41655909e crypto: remove useless initializations of cra_list
Some algorithms initialize their .cra_list prior to registration.
But this is unnecessary since crypto_register_alg() will overwrite
.cra_list when adding the algorithm to the 'crypto_alg_list'.
Apparently the useless assignment has just been copy+pasted around.

So, remove the useless assignments.

Exception: paes_s390.c uses cra_list to check whether the algorithm is
registered or not, so I left that as-is for now.

This patch shouldn't change any actual behavior.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2018-11-20 14:26:55 +08:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ablkcipher.c crypto: remove useless initializations of cra_list 2018-11-20 14:26:55 +08:00
cipher.h crypto: qce - Remove VLA usage of skcipher 2018-09-28 12:46:08 +08:00
common.c crypto: qce - fix sparse warnings 2014-07-08 21:18:21 +08:00
common.h crypto: qce - fix sparse warnings 2014-07-08 21:18:21 +08:00
core.c headers: separate linux/mod_devicetable.h from linux/platform_device.h 2018-07-07 17:52:26 +02:00
core.h crypto: qce - Qualcomm crypto engine driver 2014-07-03 21:40:27 +08:00
dma.c crypto: qce - dma_map_sg can handle chained SG 2015-10-08 21:42:19 +08:00
dma.h crypto: qce - dma_map_sg can handle chained SG 2015-10-08 21:42:19 +08:00
regs-v5.h crypto: qce - Qualcomm crypto engine driver 2014-07-03 21:40:27 +08:00
sha.c crypto: remove useless initializations of cra_list 2018-11-20 14:26:55 +08:00
sha.h crypto: qce - dma_map_sg can handle chained SG 2015-10-08 21:42:19 +08:00