diff options
author | Huaisheng Ye <yehs1@lenovo.com> | 2018-05-25 13:00:00 +0800 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-05-25 11:23:06 +0200 |
commit | 884571f0de7b02bb784be3a5c870eabce62cdaeb (patch) | |
tree | 86fd8b6d7ef6cf0d1e22188e9c5d4ad3edd206a7 /arch/x86/kernel | |
parent | 78c47830a5cbb5d22dc91819a95af3d5c4bec084 (diff) |
dma-mapping: remove unused gfp_t parameter to arch_dma_alloc_attrs
Signed-off-by: Huaisheng Ye <yehs1@lenovo.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r-- | arch/x86/kernel/pci-dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/pci-dma.c b/arch/x86/kernel/pci-dma.c index bcbaa2e8031e..c7113fd18e32 100644 --- a/arch/x86/kernel/pci-dma.c +++ b/arch/x86/kernel/pci-dma.c @@ -73,7 +73,7 @@ void __init pci_iommu_alloc(void) } } -bool arch_dma_alloc_attrs(struct device **dev, gfp_t *gfp) +bool arch_dma_alloc_attrs(struct device **dev) { if (!*dev) *dev = &x86_dma_fallback_dev; |