drivers:net: Convert dma_alloc_coherent(...__GFP_ZERO) to dma_zalloc_coherent
[deliverable/linux.git] / drivers / net / ethernet / broadcom / bnx2x / bnx2x_cmn.h
index 38be494ffa6eb65f6013127832c87d3b07491323..affb7646241e89aca418e8f407ab10ff3b765ad1 100644 (file)
@@ -51,8 +51,7 @@ extern int int_mode;
 
 #define BNX2X_PCI_ALLOC(x, y, size) \
        do { \
-               x = dma_alloc_coherent(&bp->pdev->dev, size, y, \
-                                      GFP_KERNEL | __GFP_ZERO); \
+               x = dma_zalloc_coherent(&bp->pdev->dev, size, y, GFP_KERNEL); \
                if (x == NULL) \
                        goto alloc_mem_err; \
                DP(NETIF_MSG_HW, "BNX2X_PCI_ALLOC: Physical %Lx Virtual %p\n", \
This page took 0.041157 seconds and 5 git commands to generate.