]> git.baikalelectronics.ru Git - kernel.git/commit
atm: idt77252: Remove call to memset after dma_alloc_coherent
authorFuqian Huang <huangfq.daxian@gmail.com>
Mon, 15 Jul 2019 03:17:09 +0000 (11:17 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Jul 2019 18:06:27 +0000 (11:06 -0700)
commit24047d893948d63b4ef621ae726dcf679cddca8a
tree60fe478d4916597cfae71478768ecf80abbb9844
parent1995d3d9e35799590696bfa607768a3c0b0d3982
atm: idt77252: Remove call to memset after dma_alloc_coherent

In commit 178cbc5f6e72
("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: David S. Miller <davem@davemloft.net>
drivers/atm/idt77252.c