]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
dmaengine: at_hdmac: Substitute kzalloc with kmalloc
authorTudor Ambarus <tudor.ambarus@microchip.com>
Thu, 23 Jan 2020 14:03:02 +0000 (14:03 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 9 Jan 2021 12:43:47 +0000 (13:43 +0100)
commit463ce51ac070b81d2ed99bc9bdce12a2cb37e464
tree73db862bab47d9c26b94b44f3d2e15b9b1f5745a
parente138a9e4d4099b269581c18f0fd85c9d8c2c207b
dmaengine: at_hdmac: Substitute kzalloc with kmalloc

commit a6e7f19c910068cb54983f36acebedb376f3a9ac upstream.

All members of the structure are initialized below in the function,
there is no need to use kzalloc.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Link: https://lore.kernel.org/r/20200123140237.125799-1-tudor.ambarus@microchip.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/dma/at_hdmac.c