On Fri, 22 Jan 2021 00:30:51 -0800 Ronak Doshi wrote: > + tq->buf_info = kcalloc_node(tq->tx_ring.size, sizeof(tq->buf_info[0]), > + GFP_KERNEL | __GFP_ZERO, > + dev_to_node(&adapter->pdev->dev));
no need to pass __GFP_ZERO to kcalloc
On Fri, 22 Jan 2021 00:30:51 -0800 Ronak Doshi wrote: > + tq->buf_info = kcalloc_node(tq->tx_ring.size, sizeof(tq->buf_info[0]), > + GFP_KERNEL | __GFP_ZERO, > + dev_to_node(&adapter->pdev->dev));
no need to pass __GFP_ZERO to kcalloc