ethernet :mellanox :mlx5: Replace pci_pool_alloc by pci_pool_zalloc
authorSouptick Joarder <jrdr.linux@gmail.com>
Tue, 29 Nov 2016 21:20:18 +0000 (02:50 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Nov 2016 19:56:37 +0000 (14:56 -0500)
commitfec668d36d10f30310ced672df65ec5abf0c0032
treeae412d1806e39a776f00797461961384269067d2
parent77d1337bf6350f5f47aad6a917bee8a2a06d561e
ethernet :mellanox :mlx5: Replace pci_pool_alloc by pci_pool_zalloc

In alloc_cmd_box(), pci_pool_alloc() followed by memset will be
replaced by pci_pool_zalloc()

Signed-off-by: Souptick joarder <jrdr.linux@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/cmd.c