linux/drivers/net/ethernet/atheros
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 518a2f1925
("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
..
alx treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
atl1c atl1c: remove redundant assignment to variable tpd_req 2019-07-03 11:32:39 -07:00
atl1e treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
atlx ethernet: remove redundant memset 2019-07-15 11:06:27 -07:00
ag71xx.c net: ethernet: add ag71xx driver 2019-05-26 13:22:50 -07:00
Kconfig net: ethernet: add ag71xx driver 2019-05-26 13:22:50 -07:00
Makefile net: ethernet: add ag71xx driver 2019-05-26 13:22:50 -07:00