rt2x00pci: do not use GFP_DMA
PATCH 1/1 rt2x00pci: do not use GFP_DMA
Signed-off-by John W. Linville <[email protected]>
---
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
@@ -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
Quoted 1 line · John W. Linville
Signed-off-by John W. Linville <[email protected]>
Acked-by Ivo van Doorn <[email protected]>