summaryrefslogtreecommitdiffstats
path: root/arch/openrisc/include/asm/dma-mapping.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/openrisc/include/asm/dma-mapping.h')
-rw-r--r--arch/openrisc/include/asm/dma-mapping.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/openrisc/include/asm/dma-mapping.h b/arch/openrisc/include/asm/dma-mapping.h
index 57722528ea4d..7dfe9d50856e 100644
--- a/arch/openrisc/include/asm/dma-mapping.h
+++ b/arch/openrisc/include/asm/dma-mapping.h
@@ -43,11 +43,6 @@ static inline int dma_supported(struct device *dev, u64 dma_mask)
return dma_mask == DMA_BIT_MASK(32);
}
-static inline int dma_mapping_error(struct device *dev, dma_addr_t dma_addr)
-{
- return 0;
-}
-
static inline int dma_set_mask(struct device *dev, u64 dma_mask)
{
if (!dev->dma_mask || !dma_supported(dev, dma_mask))