Skip to content
Commit 2bcc3b48 authored by Jason Wang's avatar Jason Wang Committed by Hans Verkuil
Browse files

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



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>
parent d67614f2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment