]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
xtensa: remove DMA_ERROR_CODE
authorChristoph Hellwig <hch@lst.de>
Sun, 21 May 2017 10:49:22 +0000 (12:49 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 20 Jun 2017 09:13:07 +0000 (11:13 +0200)
xtensa already implements the mapping_error method for its only
dma_map_ops instance.

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

index c6140fa8c0beb7512f9973218399ee03f1b38cc1..269738dc9d1d7402d325b475305aeed4410bbee5 100644 (file)
@@ -16,8 +16,6 @@
 #include <linux/mm.h>
 #include <linux/scatterlist.h>
 
-#define DMA_ERROR_CODE         (~(dma_addr_t)0x0)
-
 extern const struct dma_map_ops xtensa_dma_map_ops;
 
 static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)