IB/mthca: Replace pci_pool_alloc by pci_pool_zalloc
authorSouptick Joarder <jrdr.linux@gmail.com>
Thu, 1 Dec 2016 18:41:59 +0000 (00:11 +0530)
committerDoug Ledford <dledford@redhat.com>
Wed, 14 Dec 2016 18:58:39 +0000 (13:58 -0500)
commit7ceb740c540dde362b3055ad92c6a38009eb7a83
treea87fcc3cec28ecc30f1affea7549b588a1ea9252
parent1974ab9d9d5b6eeafa629f793fdf59958646cb9d
IB/mthca: Replace pci_pool_alloc by pci_pool_zalloc

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

Signed-off-by: Souptick joarder <jrdr.linux@gmail.com>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mthca/mthca_av.c