summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-05-21 12:28:08 +0200
committerChristoph Hellwig <hch@lst.de>2017-06-20 11:13:02 +0200
commit75fbede1cf8415d23fe1cb59cd70faa4d08813ab (patch)
tree94e438cbdc0186e6a15563600b10200cb590dc9c
parentfb9ef14b7f7275e8bd081d2450a983589e787d0e (diff)
ia64: remove DMA_ERROR_CODE
All ia64 dma_mapping_ops instances already have a mapping_error member. Signed-off-by: Christoph Hellwig <hch@lst.de>
-rw-r--r--arch/ia64/include/asm/dma-mapping.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/ia64/include/asm/dma-mapping.h b/arch/ia64/include/asm/dma-mapping.h
index 73ec3c6f4cfe..3ce5ab4339f3 100644
--- a/arch/ia64/include/asm/dma-mapping.h
+++ b/arch/ia64/include/asm/dma-mapping.h
@@ -12,8 +12,6 @@
#define ARCH_HAS_DMA_GET_REQUIRED_MASK
-#define DMA_ERROR_CODE 0
-
extern const struct dma_map_ops *dma_ops;
extern struct ia64_machine_vector ia64_mv;
extern void set_iommu_machvec(void);