iommu/vt-d: Don't clear GFP_DMA and GFP_DMA32 flags
authorChristoph Hellwig <hch@lst.de>
Wed, 10 Apr 2019 16:14:08 +0000 (18:14 +0200)
committerJoerg Roedel <jroedel@suse.de>
Thu, 11 Apr 2019 15:46:34 +0000 (17:46 +0200)
We already do this in the caller.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-iommu.c

index 1b7dd11..599a258 100644 (file)
@@ -3790,7 +3790,6 @@ static void *intel_alloc_coherent(struct device *dev, size_t size,
 
        size = PAGE_ALIGN(size);
        order = get_order(size);
-       flags &= ~(GFP_DMA | GFP_DMA32);
 
        if (gfpflags_allow_blocking(flags)) {
                unsigned int count = size >> PAGE_SHIFT;