Browse Source

microblaze: remove DMA_ERROR_CODE

microblaze does not return errors for dma_map_page.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig 8 years ago
parent
commit
b0230a6952
1 changed files with 0 additions and 2 deletions
  1. 0 2
      arch/microblaze/include/asm/dma-mapping.h

+ 0 - 2
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)