summaryrefslogtreecommitdiff
path: root/arch/openrisc
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-05-21 12:32:27 +0200
committerChristoph Hellwig <hch@lst.de>2017-06-20 11:13:05 +0200
commitd7950f8347483c773534c0d98044a0863a9a24a7 (patch)
treec3f28cc5b3e3444faf1b57561dc526cf4ddbd895 /arch/openrisc
parentb0230a695232679d5bbf9af8499801ff90cee80d (diff)
openrisc: remove DMA_ERROR_CODE
openrisc does not return errors for dma_map_page. Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'arch/openrisc')
-rw-r--r--arch/openrisc/include/asm/dma-mapping.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/openrisc/include/asm/dma-mapping.h b/arch/openrisc/include/asm/dma-mapping.h
index 0c0075f17145..a4ea139c2ef9 100644
--- a/arch/openrisc/include/asm/dma-mapping.h
+++ b/arch/openrisc/include/asm/dma-mapping.h
@@ -26,8 +26,6 @@
#include <linux/kmemcheck.h>
#include <linux/dma-mapping.h>
-#define DMA_ERROR_CODE (~(dma_addr_t)0x0)
-
extern const struct dma_map_ops or1k_dma_map_ops;
static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)