]> git.baikalelectronics.ru Git - kernel.git/commit
video: fbdev-MMP: Remove call to memset after dma_alloc_coherent
authorFuqian Huang <huangfq.daxian@gmail.com>
Mon, 15 Jul 2019 03:20:17 +0000 (11:20 +0800)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Tue, 23 Jul 2019 15:17:12 +0000 (17:17 +0200)
commit4155f2a7f1d2a40b9ad4ee450c3658fd03c3fb62
tree8b2a457985d318b570ba3259ab68d7248b07fc22
parent2734652edcf5594aab4c9245618b794a17dc76ec
video: fbdev-MMP: Remove call to memset after dma_alloc_coherent

In commit 00f1c0702d66
("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>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190715032017.7311-1-huangfq.daxian@gmail.com
drivers/video/fbdev/mmp/fb/mmpfb.c