]> 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)
commitbce2c3caea5e6610ecc13eea7255bf4da8f0f487
tree60fe478d4916597cfae71478768ecf80abbb9844
parent02470dcd77e7cb0753917151d491ffd5a0124c45
atm: idt77252: 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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/idt77252.c