OSDN Git Service

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)
commitcef86f1536b02e61e699f53b5f8782067481580d
tree60fe478d4916597cfae71478768ecf80abbb9844
parent071c37983d99da07797294ea78e9da1a6e287144
atm: idt77252: Remove call to memset after dma_alloc_coherent

In commit 518a2f1925c3
("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