rt2x00pci: do not use GFP_DMA
authorJohn W. Linville <linville@tuxdriver.com>
Mon, 25 Oct 2010 14:33:07 +0000 (10:33 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Nov 2010 18:24:39 +0000 (13:24 -0500)
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
drivers/net/wireless/rt2x00/rt2x00pci.c

index 2449d785cf8d5b4d9b5260a0a2e4f79d0506fdd9..868ca19b13ea3e59b57a475ccdbc63a919693862 100644 (file)
@@ -105,7 +105,7 @@ static int rt2x00pci_alloc_queue_dma(struct rt2x00_dev *rt2x00dev,
         */
        addr = dma_alloc_coherent(rt2x00dev->dev,
                                  queue->limit * queue->desc_size,
-                                 &dma, GFP_KERNEL | GFP_DMA);
+                                 &dma, GFP_KERNEL);
        if (!addr)
                return -ENOMEM;