summaryrefslogtreecommitdiff
path: root/arch/hexagon/include/asm/dma-mapping.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/hexagon/include/asm/dma-mapping.h')
-rw-r--r--arch/hexagon/include/asm/dma-mapping.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/hexagon/include/asm/dma-mapping.h b/arch/hexagon/include/asm/dma-mapping.h
index 5208de242e79..263f6acbfb0f 100644
--- a/arch/hexagon/include/asm/dma-mapping.h
+++ b/arch/hexagon/include/asm/dma-mapping.h
@@ -37,11 +37,4 @@ static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
return dma_ops;
}
-static inline bool dma_capable(struct device *dev, dma_addr_t addr, size_t size)
-{
- if (!dev->dma_mask)
- return 0;
- return addr + size - 1 <= *dev->dma_mask;
-}
-
#endif