summaryrefslogtreecommitdiff
path: root/arch/sh/include
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-05-21 12:48:09 +0200
committerChristoph Hellwig <hch@lst.de>2017-06-20 11:13:06 +0200
commitf2a80aedb20c0513b4e127d1fe1cecf936a25ba0 (patch)
tree233267fb18e457e0fdd30f3058f15c39ce76700f /arch/sh/include
parentd7950f8347483c773534c0d98044a0863a9a24a7 (diff)
sh: remove DMA_ERROR_CODE
sh does not return errors for dma_map_page. Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'arch/sh/include')
-rw-r--r--arch/sh/include/asm/dma-mapping.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sh/include/asm/dma-mapping.h b/arch/sh/include/asm/dma-mapping.h
index d99008af5f73..9b06be07db4d 100644
--- a/arch/sh/include/asm/dma-mapping.h
+++ b/arch/sh/include/asm/dma-mapping.h
@@ -9,8 +9,6 @@ static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
return dma_ops;
}
-#define DMA_ERROR_CODE 0
-
void dma_cache_sync(struct device *dev, void *vaddr, size_t size,
enum dma_data_direction dir);