diff options
Diffstat (limited to 'include/asm-x86/dma-mapping_64.h')
-rw-r--r-- | include/asm-x86/dma-mapping_64.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/asm-x86/dma-mapping_64.h b/include/asm-x86/dma-mapping_64.h index 5d349db23c99..b27527ab770e 100644 --- a/include/asm-x86/dma-mapping_64.h +++ b/include/asm-x86/dma-mapping_64.h | |||
@@ -96,13 +96,6 @@ dma_sync_sg_for_device(struct device *hwdev, struct scatterlist *sg, | |||
96 | flush_write_buffers(); | 96 | flush_write_buffers(); |
97 | } | 97 | } |
98 | 98 | ||
99 | static inline int | ||
100 | dma_map_sg(struct device *hwdev, struct scatterlist *sg, int nents, int direction) | ||
101 | { | ||
102 | BUG_ON(!valid_dma_direction(direction)); | ||
103 | return dma_ops->map_sg(hwdev, sg, nents, direction); | ||
104 | } | ||
105 | |||
106 | static inline void | 99 | static inline void |
107 | dma_unmap_sg(struct device *hwdev, struct scatterlist *sg, int nents, | 100 | dma_unmap_sg(struct device *hwdev, struct scatterlist *sg, int nents, |
108 | int direction) | 101 | int direction) |