Fuqian Huang 3a5ee3b301 ethernet: remove redundant memset
kvzalloc already zeroes the memory during the allocation.
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 the memset after these function is not needed.

Signed-off-by: Fuqian Huang <huangfq.daxian@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-07-15 11:06:27 -07:00
..
2019-06-21 09:58:42 -07:00
2019-07-15 11:06:27 -07:00
2019-07-15 11:06:27 -07:00
2019-05-31 08:34:32 -07:00
2019-06-14 14:18:53 -06:00
2019-07-07 22:15:12 -07:00
2019-07-15 11:06:27 -07:00
2019-07-07 19:23:05 -07:00
2019-07-15 11:06:27 -07:00
2019-07-14 12:22:11 -07:00
2019-07-15 11:06:27 -07:00
2019-07-15 11:06:27 -07:00