media: staging: media: hantro: Remove call to memset after dma_alloc_coherent

fix below issue reported by coccicheck
/drivers/staging/media/hantro/hantro_vp8.c:149:16-34: WARNING:
dma_alloc_coherent use in aux_buf -> cpu already zeroes out memory,  so
memset is not needed

Signed-off-by: Hariprasad Kelam <hariprasad.kelam@gmail.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
Hariprasad Kelam 2019-07-24 23:06:02 -04:00 коммит произвёл Mauro Carvalho Chehab
Родитель 24f6f93a19
Коммит aa0e9e7273
1 изменённых файлов: 0 добавлений и 2 удалений

Просмотреть файл

@ -151,8 +151,6 @@ int hantro_vp8_dec_init(struct hantro_ctx *ctx)
if (!aux_buf->cpu)
return -ENOMEM;
memset(aux_buf->cpu, 0, aux_buf->size);
/*
* Allocate probability table buffer,
* total 1208 bytes, 4K page is far enough.