OpenCloudOS-Kernel/drivers/media/pci/ngene
Fuqian Huang 6a11f0f588 media: ngene: Remove call to memset after pci_alloc_consistent
pci_alloc_consistent calls dma_alloc_coherent directly.
In commit 518a2f1925
("dma-mapping: zero memory returned from dma_alloc_*"),
dma_alloc_coherent has already zeroed the memory.
So memset is not needed.

Signed-off-by: Fuqian Huang <huangfq.daxian@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-08-13 11:54:39 -03:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile media: prefix header search paths with $(srctree)/ 2019-05-18 11:49:56 +09:00
ngene-cards.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 461 2019-06-19 17:09:09 +02:00
ngene-core.c media: ngene: Remove call to memset after pci_alloc_consistent 2019-08-13 11:54:39 -03:00
ngene-dvb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 461 2019-06-19 17:09:09 +02:00
ngene-i2c.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 461 2019-06-19 17:09:09 +02:00
ngene.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 461 2019-06-19 17:09:09 +02:00