diff options
author | Christoph Hellwig <hch@lst.de> | 2017-05-21 12:32:27 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-06-20 11:13:05 +0200 |
commit | d7950f8347483c773534c0d98044a0863a9a24a7 (patch) | |
tree | c3f28cc5b3e3444faf1b57561dc526cf4ddbd895 /arch/openrisc/include/asm/dma-mapping.h | |
parent | b0230a695232679d5bbf9af8499801ff90cee80d (diff) | |
download | linux-d7950f8347483c773534c0d98044a0863a9a24a7.tar.bz2 |
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/include/asm/dma-mapping.h')
-rw-r--r-- | arch/openrisc/include/asm/dma-mapping.h | 2 |
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) |