media: staging: media: hantro: Remove call to memset after dma_alloc_coherent
authorHariprasad Kelam <hariprasad.kelam@gmail.com>
Thu, 25 Jul 2019 03:06:02 +0000 (23:06 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 25 Jul 2019 15:58:16 +0000 (11:58 -0400)
commitaa0e9e72733b069a655a3fe9167f69de103830cc
tree79790dff057727b830ebe0a32b1f1dac84a498d2
parent24f6f93a19e86779da94d97f4adccf3ab2662a77
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>
drivers/staging/media/hantro/hantro_vp8.c