cross-tree: phase out dma_zalloc_coherent()
[linux-block.git] / drivers / net / ethernet / chelsio / cxgb3 / sge.c
index 20b6e1b3f5e34570236d276d23fe6a8582a9f298..85f22c28668054b4475701cdc3c4b99314b089f0 100644 (file)
@@ -620,7 +620,7 @@ static void *alloc_ring(struct pci_dev *pdev, size_t nelem, size_t elem_size,
 {
        size_t len = nelem * elem_size;
        void *s = NULL;
-       void *p = dma_zalloc_coherent(&pdev->dev, len, phys, GFP_KERNEL);
+       void *p = dma_alloc_coherent(&pdev->dev, len, phys, GFP_KERNEL);
 
        if (!p)
                return NULL;