]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
m32r: remove DMA_ERROR_CODE
authorChristoph Hellwig <hch@lst.de>
Sun, 21 May 2017 10:29:17 +0000 (12:29 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 20 Jun 2017 09:13:03 +0000 (11:13 +0200)
dma-noop is the only dma_mapping_ops instance for m32r and does not return
errors.

Signed-off-by: Christoph Hellwig <hch@lst.de>
arch/m32r/include/asm/dma-mapping.h

index c01d9f52d22875a9f4469c0da2addc3ebeff5418..aff3ae8b62f76286c6739b63acc995f3584c971a 100644 (file)
@@ -8,8 +8,6 @@
 #include <linux/dma-debug.h>
 #include <linux/io.h>
 
-#define DMA_ERROR_CODE (~(dma_addr_t)0x0)
-
 static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
 {
        return &dma_noop_ops;