linux/drivers/net/ethernet/mellanox/mlx4
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
..
alloc.c mellanox: Switch to bitmap_zalloc() 2019-03-04 10:19:33 -08:00
catas.c drivers: Remove explicit invocations of mmiowb() 2019-04-08 12:01:02 +01:00
cmd.c drivers: Remove explicit invocations of mmiowb() 2019-04-08 12:01:02 +01:00
cq.c net/mlx4_core: Fix error handling when initializing CQ bufs in the driver 2019-01-24 21:48:26 -08:00
crdump.c
en_clock.c
en_cq.c net/mlx4_en: remove fallback after kzalloc_node() 2018-12-17 11:18:02 -08:00
en_dcb_nl.c
en_ethtool.c net/mlx4_en: ethtool, Remove unsupported SFP EEPROM high pages query 2019-05-20 11:33:57 -07:00
en_main.c
en_netdev.c net/mlx4_en: fix spelling mistake: "quiting" -> "quitting" 2019-02-18 12:06:42 -08:00
en_port.c
en_port.h
en_resources.c
en_rx.c net/mlx4_en: Force CHECKSUM_NONE for short ethernet frames 2019-02-12 12:58:48 -05:00
en_selftest.c
en_tx.c drivers: mellanox: use netdev_xmit_more() helper 2019-04-01 18:35:02 -07:00
eq.c ethernet: remove redundant memset 2019-07-15 11:06:27 -07:00
fw_qos.c
fw_qos.h
fw.c net/mlx4_core: Add masking for a few queries on HCA caps 2019-01-24 21:48:26 -08:00
fw.h
icm.c net/mlx4: replace pci_{,un}map_sg with dma_{,un}map_sg 2019-01-07 05:14:17 -08:00
icm.h net/mlx4: Get rid of page operation after dma_alloc_coherent 2019-01-07 05:14:17 -08:00
intf.c
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
main.c devlink: publish params only after driver init is done 2019-02-08 15:02:49 -08:00
Makefile
mcg.c net/mlx4_core: Change the error print to info print 2019-05-14 15:38:59 -07:00
mlx4_en.h net: remove 'fallback' argument from dev->ndo_select_queue() 2019-03-20 11:18:55 -07:00
mlx4_stats.h
mlx4.h
mr.c
pd.c
port.c net/mlx4_en: ethtool, Remove unsupported SFP EEPROM high pages query 2019-05-20 11:33:57 -07:00
profile.c
qp.c
reset.c
resource_tracker.c net/mlx4_core: Fix qp mtt size calculation 2019-03-12 15:00:15 -07:00
sense.c
srq.c