summaryrefslogtreecommitdiff
path: root/kernel/dma/remap.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-10-29 11:57:32 +0300
committerChristoph Hellwig <hch@lst.de>2019-11-07 19:25:57 +0300
commit4e1003aa56a7d60ddb048e43a7a51368fcfe36af (patch)
treeb206b4e7b2d1c5fa9acd49c09d5fdba965d2c461 /kernel/dma/remap.c
parentacaade1af3587132e7ea585f470a95261e14f60c (diff)
downloadlinux-4e1003aa56a7d60ddb048e43a7a51368fcfe36af.tar.xz
dma-direct: remove the dma_handle argument to __dma_direct_alloc_pages
The argument isn't used anywhere, so stop passing it. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'kernel/dma/remap.c')
-rw-r--r--kernel/dma/remap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/dma/remap.c b/kernel/dma/remap.c
index fb1e50c2d48a..90d5ce77c189 100644
--- a/kernel/dma/remap.c
+++ b/kernel/dma/remap.c
@@ -226,7 +226,7 @@ void *arch_dma_alloc(struct device *dev, size_t size, dma_addr_t *dma_handle,
goto done;
}
- page = __dma_direct_alloc_pages(dev, size, dma_handle, flags, attrs);
+ page = __dma_direct_alloc_pages(dev, size, flags, attrs);
if (!page)
return NULL;