Commit 2f59375f authored by Jason Wang's avatar Jason Wang Committed by Greg Kroah-Hartman
Browse files

media: imx-jpeg: Remove unnecessary memset() after dma_alloc_coherent()



[ Upstream commit 2bcc3b48 ]

The `dma_alloc_coherent()' already zeroes out memory for us, so we don't
need the redundant memset().

Signed-off-by: default avatarJason Wang <wangborong@cdjrlc.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Stable-dep-of: 46e9c092 ("media: imx-jpeg: Move mxc_jpeg_free_slot_data() ahead")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 9242ff62
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment