diff options
author | Christoph Hellwig <hch@lst.de> | 2017-05-21 12:49:22 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-06-20 11:13:07 +0200 |
commit | 50f5c08b016bb4c6d34667d7ab9d5ee35e85261f (patch) | |
tree | 0b9daa7fce24420dad4439f36045185c5e3264c9 /arch/xtensa/include | |
parent | f2a80aedb20c0513b4e127d1fe1cecf936a25ba0 (diff) | |
download | linux-stable-50f5c08b016bb4c6d34667d7ab9d5ee35e85261f.tar.gz linux-stable-50f5c08b016bb4c6d34667d7ab9d5ee35e85261f.tar.bz2 linux-stable-50f5c08b016bb4c6d34667d7ab9d5ee35e85261f.zip |
xtensa: remove DMA_ERROR_CODE
xtensa already implements the mapping_error method for its only
dma_map_ops instance.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'arch/xtensa/include')
-rw-r--r-- | arch/xtensa/include/asm/dma-mapping.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/xtensa/include/asm/dma-mapping.h b/arch/xtensa/include/asm/dma-mapping.h index c6140fa8c0be..269738dc9d1d 100644 --- a/arch/xtensa/include/asm/dma-mapping.h +++ b/arch/xtensa/include/asm/dma-mapping.h @@ -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) |