Skip to content

Commit a760088

Browse files
author
Christoph Hellwig
committed
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>
1 parent 8bd17c6 commit a760088

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

arch/x86/include/asm/dma-mapping.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
# define ISA_DMA_BIT_MASK DMA_BIT_MASK(32)
2020
#endif
2121

22-
#define DMA_ERROR_CODE 0
23-
2422
extern int iommu_merge;
2523
extern struct device x86_dma_fallback_dev;
2624
extern int panic_on_overflow;

0 commit comments

Comments
 (0)