summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/dma-mapping.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-05-22 10:37:09 +0200
committerChristoph Hellwig <hch@lst.de>2017-06-28 15:54:36 +0200
commita760088b45186d6235e05a75788d142bf203a927 (patch)
treed188780abb9bacbb25685259abeac59e939c0a5b /arch/x86/include/asm/dma-mapping.h
parentx86/calgary: implement ->mapping_error (diff)
downloadlinux-a760088b45186d6235e05a75788d142bf203a927.tar.xz
linux-a760088b45186d6235e05a75788d142bf203a927.zip
x86: remove DMA_ERROR_CODE
All dma_map_ops instances now handle their errors through ->mapping_error. Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'arch/x86/include/asm/dma-mapping.h')
-rw-r--r--arch/x86/include/asm/dma-mapping.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/include/asm/dma-mapping.h b/arch/x86/include/asm/dma-mapping.h
index 08a0838b83fb..c35d228aa381 100644
--- a/arch/x86/include/asm/dma-mapping.h
+++ b/arch/x86/include/asm/dma-mapping.h
@@ -19,8 +19,6 @@
# define ISA_DMA_BIT_MASK DMA_BIT_MASK(32)
#endif
-#define DMA_ERROR_CODE 0
-
extern int iommu_merge;
extern struct device x86_dma_fallback_dev;
extern int panic_on_overflow;