summaryrefslogtreecommitdiff
path: root/drivers/iommu
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-04-10 18:14:08 +0200
committerJoerg Roedel <jroedel@suse.de>2019-04-11 17:46:34 +0200
commitf7ae70a5e347f7a314e266c66c67876adbab3245 (patch)
treeafc2050b9a2d979b900487d510e8c21cbeff4afc /drivers/iommu
parent9cc0c2af8d0387f3f99572bd7fe15ab41eb89bb9 (diff)
iommu/vt-d: Don't clear GFP_DMA and GFP_DMA32 flags
We already do this in the caller. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu')
-rw-r--r--drivers/iommu/intel-iommu.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iommu/intel-iommu.c b/drivers/iommu/intel-iommu.c
index 1b7dd11e5581..599a25809440 100644
--- a/drivers/iommu/intel-iommu.c
+++ b/drivers/iommu/intel-iommu.c
@@ -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;