linux/drivers/crypto/amlogic
Christophe JAILLET 3d780c8a98 crypto: amlogic - Remove kcalloc without check
There is no real point in allocating dedicated memory for the irqs array.
MAXFLOW is only 2, so it is easier to allocated the needed space
directly within the 'meson_dev' structure.

This saves some memory allocation and avoids an indirection when using the
irqs array.

Fixes: 48fe583fe5 ("crypto: amlogic - Add crypto accelerator...")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2022-12-02 18:12:40 +08:00
..
amlogic-gxl-cipher.c crypto: amlogic - Fix dma_map_sg error check 2022-08-26 18:50:40 +08:00
amlogic-gxl-core.c crypto: amlogic - Remove kcalloc without check 2022-12-02 18:12:40 +08:00
amlogic-gxl.h crypto: amlogic - Remove kcalloc without check 2022-12-02 18:12:40 +08:00
Kconfig crypto: amlogic-gxl - default to build as module 2020-07-16 21:49:01 +10:00
Makefile