From: Christoph Hellwig Date: Sun, 21 May 2017 10:48:09 +0000 (+0200) Subject: sh: remove DMA_ERROR_CODE X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f2a80aedb20c0513b4e127d1fe1cecf936a25ba0;p=linux.git sh: remove DMA_ERROR_CODE sh does not return errors for dma_map_page. Signed-off-by: Christoph Hellwig --- diff --git a/arch/sh/include/asm/dma-mapping.h b/arch/sh/include/asm/dma-mapping.h index d99008af5f73b..9b06be07db4db 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);