Commit d7950f83 authored by Christoph Hellwig's avatar Christoph Hellwig

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
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment