Commit 50f5c08b authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

xtensa: remove DMA_ERROR_CODE



xtensa already implements the mapping_error method for its only
dma_map_ops instance.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent f2a80aed
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -16,8 +16,6 @@
#include <linux/mm.h>
#include <linux/scatterlist.h>

#define DMA_ERROR_CODE		(~(dma_addr_t)0x0)

extern const struct dma_map_ops xtensa_dma_map_ops;

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