Skip to contentSkip to conversation

rt2x00pci: do not use GFP_DMA

PATCH In review John W. Linville 2 participants 2 messages Oct 25, 2010 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rt2x00pci: do not use GFP_DMA

---
It shouldn't be necessary...is it?

 drivers/net/wireless/rt2x00/rt2x00pci.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/wireless/rt2x00/rt2x00pci.c +1 -1
index 2449d78..868ca19 100644
@@ -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;
 
Signature · 1 line
1.7.2.3