summaryrefslogtreecommitdiffstats
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2022-11-22 22:56:19 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2022-12-02 18:12:40 +0800
commit3d780c8a9850ad60dee47a8d971ba7888f3d1bd3 (patch)
treee195fc4ccadb91d96be2946ab66053c6f4128ced /block/blk-core.c
parent4d2b225a67e6df962bbeaad473bfd8f97cfbf478 (diff)
downloadlinux-stable-3d780c8a9850ad60dee47a8d971ba7888f3d1bd3.tar.gz
linux-stable-3d780c8a9850ad60dee47a8d971ba7888f3d1bd3.tar.bz2
linux-stable-3d780c8a9850ad60dee47a8d971ba7888f3d1bd3.zip
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: 48fe583fe541 ("crypto: amlogic - Add crypto accelerator...") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'block/blk-core.c')
0 files changed, 0 insertions, 0 deletions