diff options
author | Fuqian Huang <huangfq.daxian@gmail.com> | 2019-07-15 06:19:21 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-15 21:06:27 +0300 |
commit | 6a24c8fb0d889b39079215970210f88255b81c80 (patch) | |
tree | e996ed7fccd0b23fadcb52f7cde4248069dc4a4f /Kbuild | |
parent | 3a5ee3b30126bd7dc5d6299f3a985d4fefcf42c9 (diff) | |
download | linux-6a24c8fb0d889b39079215970210f88255b81c80.tar.xz |
hippi: Remove call to memset after pci_alloc_consistent
pci_alloc_consistent calls dma_alloc_coherent directly.
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>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions