summaryrefslogtreecommitdiff
path: root/arch/microblaze
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-05-21 13:30:35 +0300
committerChristoph Hellwig <hch@lst.de>2017-06-20 12:13:04 +0300
commitb0230a695232679d5bbf9af8499801ff90cee80d (patch)
tree31f7998778bbcaa52655f12f779e550f827aebd0 /arch/microblaze
parent7c72e0d557c0c93d22f179dd5a64e6bc475810c2 (diff)
downloadlinux-b0230a695232679d5bbf9af8499801ff90cee80d.tar.xz
microblaze: remove DMA_ERROR_CODE
microblaze does not return errors for dma_map_page. Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'arch/microblaze')
-rw-r--r--arch/microblaze/include/asm/dma-mapping.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/microblaze/include/asm/dma-mapping.h b/arch/microblaze/include/asm/dma-mapping.h
index 3fad5e722a66..e15cd2f76e23 100644
--- a/arch/microblaze/include/asm/dma-mapping.h
+++ b/arch/microblaze/include/asm/dma-mapping.h
@@ -28,8 +28,6 @@
#include <asm/io.h>
#include <asm/cacheflush.h>
-#define DMA_ERROR_CODE (~(dma_addr_t)0x0)
-
#define __dma_alloc_coherent(dev, gfp, size, handle) NULL
#define __dma_free_coherent(size, addr) ((void)0)