diff options
author | Zhang Zekun <zhangzekun11@huawei.com> | 2022-06-17 10:39:25 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-06-27 09:13:03 +0100 |
commit | 3e52be9bc501e577e2d8429bc2337bd979d38887 (patch) | |
tree | e90a4142f3d2723ef08f80a6615f1407f6390632 /drivers/media/platform/st/stm32/stm32-dcmi.c | |
parent | aa63c5eaf7f7d2d3a4b1cc5782e7151b8ae3079f (diff) |
media: rkvdec:Remove redundant memset
As dma_alloc_coherent() will return a zeroed buffer, we
don't need to memset the returned buffer.
priv_tbl = dma_alloc_coherent() and count_tbl = dma_alloc_coherent()
should be enough.
-see commit 750afb08ca71 ("cross-tree: phase out dma_zalloc_coherent()")
Signed-off-by: Zhang Zekun <zhangzekun11@huawei.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/platform/st/stm32/stm32-dcmi.c')
0 files changed, 0 insertions, 0 deletions