Skip to content

Commit

Permalink
x86: remove DMA_ERROR_CODE
Browse files Browse the repository at this point in the history
All dma_map_ops instances now handle their errors through
->mapping_error.

Signed-off-by: Christoph Hellwig <hch@lst.de>
  • Loading branch information
Christoph Hellwig committed Jun 28, 2017
1 parent 8bd17c6 commit a760088
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/x86/include/asm/dma-mapping.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a760088

Please sign in to comment.