RDMA/erdma: Remove unnecessary __GFP_ZERO flag
authorBoshi Yu <boshiyu@linux.alibaba.com>
Mon, 11 Mar 2024 11:38:21 +0000 (19:38 +0800)
committerLeon Romanovsky <leon@kernel.org>
Mon, 1 Apr 2024 11:46:01 +0000 (14:46 +0300)
commitdf0e16bab5c7f13d083484e0ab7488cc7ca510f1
tree54fbf9fafd33d3e97e5e3ce696e89317cfb43f7d
parentfdb09ed15f272adb7c0403f7a6f9b4db3959284d
RDMA/erdma: Remove unnecessary __GFP_ZERO flag

The dma_alloc_coherent() interface automatically zero the memory returned.
Thus, we do not need to specify the __GFP_ZERO flag explicitly when we call
dma_alloc_coherent().

Reviewed-by: Cheng Xu <chengyou@linux.alibaba.com>
Signed-off-by: Boshi Yu <boshiyu@linux.alibaba.com>
Link: https://lore.kernel.org/r/20240311113821.22482-4-boshiyu@alibaba-inc.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/erdma/erdma_cmdq.c
drivers/infiniband/hw/erdma/erdma_eq.c