Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d7950f83 authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

openrisc: remove DMA_ERROR_CODE



openrisc does not return errors for dma_map_page.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent b0230a69
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -26,8 +26,6 @@
#include <linux/kmemcheck.h>
#include <linux/dma-mapping.h>

#define DMA_ERROR_CODE		(~(dma_addr_t)0x0)

extern const struct dma_map_ops or1k_dma_map_ops;

static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)