summaryrefslogtreecommitdiff
path: root/include/asm-x86/dma-mapping_64.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/dma-mapping_64.h')
-rw-r--r--include/asm-x86/dma-mapping_64.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/asm-x86/dma-mapping_64.h b/include/asm-x86/dma-mapping_64.h
index 352bf4164a5e..8353025f052d 100644
--- a/include/asm-x86/dma-mapping_64.h
+++ b/include/asm-x86/dma-mapping_64.h
@@ -3,14 +3,6 @@
extern int iommu_merge;
-static inline int dma_mapping_error(dma_addr_t dma_addr)
-{
- if (dma_ops->mapping_error)
- return dma_ops->mapping_error(dma_addr);
-
- return (dma_addr == bad_dma_address);
-}
-
/* same for gart, swiotlb, and nommu */
static inline int dma_get_cache_alignment(void)
{