RDMA/mlx5: Use proper allocation API to get zeroed memory
authorLeon Romanovsky <leonro@mellanox.com>
Sun, 30 Jun 2019 15:48:32 +0000 (18:48 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 4 Jul 2019 17:08:18 +0000 (14:08 -0300)
commit50ba3c18a4e549ba6a5a4672dfb3eb30fcb7d570
treea8c1ed75ffd7a25f0d2817fd44321383f1e47592
parent0bddcff628db5f516b046019b31f2430e7a8eaba
RDMA/mlx5: Use proper allocation API to get zeroed memory

There is no need in custom memory zeroing, because it can be done
by using kzalloc from the beginning.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/main.c