acrn-kernel/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
..
Kconfig
Makefile
amlogic-gxl-cipher.c
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