From: Christoph Hellwig Date: Sun, 21 May 2017 10:30:35 +0000 (+0200) Subject: microblaze: remove DMA_ERROR_CODE X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b0230a695232679d5bbf9af8499801ff90cee80d;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git microblaze: remove DMA_ERROR_CODE microblaze does not return errors for dma_map_page. Signed-off-by: Christoph Hellwig --- 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 #include -#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)