aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec.c
diff options
context:
space:
mode:
authorZhang Zekun <zhangzekun11@huawei.com>2022-06-17 10:39:25 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-06-27 09:13:03 +0100
commit3e52be9bc501e577e2d8429bc2337bd979d38887 (patch)
treee90a4142f3d2723ef08f80a6615f1407f6390632 /drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec.c
parentmedia: atmel: atmel-isc-base: allow wb ctrls to be changed when isc is not configured (diff)
downloadlinux-dev-3e52be9bc501e577e2d8429bc2337bd979d38887.tar.xz
linux-dev-3e52be9bc501e577e2d8429bc2337bd979d38887.zip
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/mediatek/vcodec/mtk_vcodec_dec.c')
0 files changed, 0 insertions, 0 deletions