summaryrefslogtreecommitdiffstats
path: root/arch/c6x
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-05-21 12:23:05 +0200
committerChristoph Hellwig <hch@lst.de>2017-06-20 11:13:01 +0200
commitfb9ef14b7f7275e8bd081d2450a983589e787d0e (patch)
tree1a3c88d5d3505ed27c31a55da4713f34c76c06db /arch/c6x
parentxen-swiotlb: implement ->mapping_error (diff)
downloadlinux-fb9ef14b7f7275e8bd081d2450a983589e787d0e.tar.xz
linux-fb9ef14b7f7275e8bd081d2450a983589e787d0e.zip
c6x: remove DMA_ERROR_CODE
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'arch/c6x')
-rw-r--r--arch/c6x/include/asm/dma-mapping.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/c6x/include/asm/dma-mapping.h b/arch/c6x/include/asm/dma-mapping.h
index aca9f755e4f8..05daf1038111 100644
--- a/arch/c6x/include/asm/dma-mapping.h
+++ b/arch/c6x/include/asm/dma-mapping.h
@@ -12,11 +12,6 @@
#ifndef _ASM_C6X_DMA_MAPPING_H
#define _ASM_C6X_DMA_MAPPING_H
-/*
- * DMA errors are defined by all-bits-set in the DMA address.
- */
-#define DMA_ERROR_CODE ~0
-
extern const struct dma_map_ops c6x_dma_ops;
static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)